Package color implements a basic color library.
Static methods
staticinlinecMYKToRGB(_c:GoUInt8, _m:GoUInt8, _y:GoUInt8, _k:GoUInt8):{_2:GoUInt8, _1:GoUInt8, _0:GoUInt8}
CMYKToRGB converts a CMYK quadruple to an RGB triple.
See also:
staticinlinemodelFunc(_f:Color_ ‑> Color_):Model
ModelFunc returns a Model that invokes f to implement the conversion.
See also:
staticinlinerGBToCMYK(_r:GoUInt8, _g:GoUInt8, _b:GoUInt8):{_3:GoUInt8, _2:GoUInt8, _1:GoUInt8, _0:GoUInt8}
RGBToCMYK converts an RGB triple to a CMYK quadruple.
See also:
staticinlinerGBToYCbCr(_r:GoUInt8, _g:GoUInt8, _b:GoUInt8):{_2:GoUInt8, _1:GoUInt8, _0:GoUInt8}
RGBToYCbCr converts an RGB triple to a Y'CbCr triple.
See also: