FunctionOKLCHGradientOKLCHGradient creates a gradient from (t,L,C,H) values with t∈[0,1] the position, L∈[0,1] the lightness, C∈[0,1] the chroma, and H∈[0,360] the hue.
palettes.go:150
FunctionRGBGradientRGBCradient creates a gradient from (t,R,G,B) values with t∈[0,1] the position, R∈[0,1] the redness, G∈[0,1] the greenness, and B∈[0,1] the blueness.
palettes.go:114