grasshopper2 Rhinorhino3d.com
ComponentAuto-generatedDisplay
Colour To Hex
00000000-cceb-49e1-bb48-31bde9343cd0
object preview
This page was generated from the component’s built-in descriptions. An in-depth article has not been written for it yet.

Compute the hexadecimal description and byte channel values of a colour using the standard RGB colour model.

Input parameters:

  1. Cl → Colour to analyse.

Output parameters:

  1. Ri → Value of the red channel in the [0,255] range.
  2. Gi → Value of the green channel in the [0,255] range.
  3. Bi → Value of the blue channel in the [0,255] range.
  4. Hx → HTML compliant hexadecimal descriptor of the colour.