Documentation ¶ Index ¶ type Rgb func CorrectColor(rgb Rgb, corrections Rgb) (corrected Rgb) func InterpolateColor(color1 Rgb, color2 Rgb, fraction float32) (interpolated Rgb) func InterpolateColors(colors1 []Rgb, colors2 []Rgb, step int, steps int) (colors []Rgb) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Rgb ¶ type Rgb struct { R, G, B float32 } func CorrectColor ¶ func CorrectColor(rgb Rgb, corrections Rgb) (corrected Rgb) func InterpolateColor ¶ func InterpolateColor(color1 Rgb, color2 Rgb, fraction float32) (interpolated Rgb) func InterpolateColors ¶ func InterpolateColors(colors1 []Rgb, colors2 []Rgb, step int, steps int) (colors []Rgb) Source Files ¶ View all Source files color.go Click to show internal directories. Click to hide internal directories.