Latest Socket ResearchMalicious Chrome Extension Performs Hidden Affiliate Hijacking.Details
Socket
Book a DemoInstallSign in
Socket

smariot.com/color

Package Overview
Dependencies
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

smariot.com/color

Go Modules
Version
v0.2.0
Version published
Created
Source

Golang Color Package

Provides several types for representing linear RGB and OkLab colours, compatible with the standard color package.

The types in this package use float64 components and are definitely overkill - you don't need 192 or 256 bit colour. Probably.

There are two main groups - the linear RGB colours, ideal for compositing; and the OkLab colors, ideal for comparing colours or for creating visually pleasing gradients.

Installation

go get smariot.com/color

Documentation

You can find the documentation at pkg.go.dev.

FAQs

Package last updated on 27 Mar 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts