- rgb-color->bytes color-listprocedure
Converts a rgb or rgb% color list into a list containing the RGBA color components as exact integers in the range [0, 255].
(rgb-color->bytes '(rgb 123 256 -1 50/100)) ; → (123 255 0 128) (rgb-color->bytes '(rgb% 0.4 1.1 -0.1 0.25)) ; → (102 255 0 128)