Skip to main content

random color

Generate a random color

Holly Conrad Smith avatar
Written by Holly Conrad Smith
Updated over 2 weeks ago

Random numbers generated by computers are not truly random, but rather pseudo-random. They are produced by algorithms that, while appearing random, are deterministic and predictable. This means the same algorithm will generate the same sequence of numbers if given the same starting conditions.

In random number generation, a seed is a starting number used to initialize a random number generator (RNG). It's essentially a point within a predetermined sequence of "random" numbers where the generator starts producing values.

Inputs

Name

Abbreviation

Type

Access

Description

Seed

S

Number

Item

The seed for the random number

Outputs

Name

Abbreviation

Type

Access

Description

Color

C

String

Item

The random color

How to

  1. Feed in a number to the seed

    1. This could be the a numeric result of another node

    2. Or, you can use a number node

    3. Or, you can type numbers into the box

    4. If you need to process multiple numbers in a list, use the map node

  2. The result is a randomized hex value representing a color

A hexadecimal color is specified with: #RRGGBB, where the RR (red), GG (green) and BB (blue) hexadecimal integers specify the components of the color.

Did this answer your question?