A module that do common color translations and manipulations.
Copy the folder project/noodl_modules/mui-icons-module
into your-project-folder/noodl_modules
.
Takes a hex value (#000000) and outputs the red, green and blue as separate values (0-255)
- HEX color:
color
The HEX color (from a Color node or as a string) that will be converted into RGB.
- Red:
number
The red color value (0
-255
). - Green:
number
The green color value (0
-255
). - Blue:
number
The blue color value (0
-255
).
Takes three different values (red, green and blue) and outputs the HEX color.
- Red:
number
The red color value (0
-255
). - Green:
number
The green color value (0
-255
). - Blue:
number
The blue color value (0
-255
).
- Color:
color
The HEX color (as a string).
Takes a HEX color value, converts it into HSL (hue, saturation, light) and rotate the hue with the number of degrees specified.
- Color:
color
A HEX color value (from a Color node or as a string) that will be rotated. - Rotation:
number
The number of degrees that the hue should be rotated.
- Color:
color
The rotated color converted back into a HEX color (as a string).