gcolorsel
) from a file and creates a color
object containing the corresponding colors.readRGB(file = "", class = "RGB")
writehex
,
readhex
,
hex2RGB
,
RGB
,
HSV
,
XYZ
,
LAB
,
polarLAB
,
LUV
,
polarLUV
.rgb = readRGB("pastel.rgb")
hsv = readRGB("pastel.rgb", "HSV")
Run the code above in your browser using DataLab