-
Notifications
You must be signed in to change notification settings - Fork 404
Utility functions
meltingice edited this page Feb 25, 2011
·
1 revision
CamanJS has a set of utility functions that may be used in your own filters, or even outside of normal CamanJS usage if desired. All of these utility functions are a part of the Caman object, and should be rather self-explanatory:
- rgb_to_hsl()
- hsl_to_rgb()
- rgb_to_hsv()
- hsv_to_rgb()
- rgb_to_xyz()
- xyz_to_rgb()
- xyz_to_lab()
- lab_to_xyz()
- hex_to_rgb()