package
Version:
v0.0.0-...-b8e17cf
Opens a new window with list of versions in this module.
Published: Jan 26, 2022
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Standard Illuminati D65 used for XYZ conversion
Returns value is in degrees
type LAB struct {
L, A, B float64
}
LAB Colour
Converts a LAB colour to RGB
Converts a LAB colour to XYZ
type RGB struct {
R, G, B float64
}
RGB Data, range 0-255
Converts an RGB colour to the LAB colour space
Converts an RGB colour to the XYZ colour space
type XYZ struct {
X, Y, Z float64
}
XYZ
Converts an XYZ colour to the LAB colour space
Converts an XYZ colour to the RGB colour space
Source Files
¶
Click to show internal directories.
Click to hide internal directories.