Edit this page

toBytes

Returns the color in "Bytes" representation. It has the same properties as RGB, but r, g and b are integers between 0 and 255 instead of floats.

This does not modify the current object, it creates a new one instead.

ReturnsObject An object with r, g and b fields.

Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy