colorBank

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package colorbank provides a bank of colors who's rbg values already correspond to DMC string color values These values are used in dmc.go to find the closest matching dmc color to the given rgb value

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DmcColors

type DmcColors struct {
	ColorBank []pkg.DefColor
	HexMap    map[string]string
	Rgb       rgb.Rgb
	Hex       hex.Hex
	Hsv       hsv.Hsv
	Lab       lab.Lab
}

func New

func New() *DmcColors

Jump to

Keyboard shortcuts

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