Skip to content

Latest commit

 

History

History
45 lines (32 loc) · 1.43 KB

README.md

File metadata and controls

45 lines (32 loc) · 1.43 KB

noodl-color-utility-module

A module that do common color translations and manipulations.

Color utility animation

Install

Copy the folder project/noodl_modules/mui-icons-module into your-project-folder/noodl_modules.

Docs


Hex To Rgb

Takes a hex value (#000000) and outputs the red, green and blue as separate values (0-255)

Inputs
  • HEX color: color The HEX color (from a Color node or as a string) that will be converted into RGB.
Outputs
  • Red: number The red color value (0-255).
  • Green: number The green color value (0-255).
  • Blue: number The blue color value (0-255).

Rgb To Hex

Takes three different values (red, green and blue) and outputs the HEX color.

Inputs
  • Red: number The red color value (0-255).
  • Green: number The green color value (0-255).
  • Blue: number The blue color value (0-255).
Outputs
  • Color: color The HEX color (as a string).

Hue Rotation

Takes a HEX color value, converts it into HSL (hue, saturation, light) and rotate the hue with the number of degrees specified.

Inputs
  • 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.
Outputs
  • Color: color The rotated color converted back into a HEX color (as a string).