color

package
v0.0.0-...-1b94231 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 10, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Code generated by ./gen/gen.go; DO NOT EDIT.

Index

Constants

This section is empty.

Variables

View Source
var Cols = []Color{}/* 256 elements not displayed */

Functions

This section is empty.

Types

type Color

type Color struct {
	ID  int
	Hex string
	R   int
	G   int
	B   int
}

func FilterColor

func FilterColor(hex string, dist Distance, n int) []Color

func (Color) Name16

func (c Color) Name16() string

type Distance

type Distance int
const (
	RGB Distance = iota
	CIE76
	CIE94
	CIEDE2000
)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL