buildRgbColourArray()
Overview
public array function buildRgbColourArray(
required numeric from
, required numeric to
, required numeric step
)
Builds a matrix of RGB colour values based on a simple regular pattern.
Arguments
Name | Type | Required | Description |
---|---|---|---|
from | numeric | Yes | Starting value for each of the R, G and B colour values |
to | numeric | Yes | Ending value for each of the R, G and B colour values |
step | numeric | Yes | Amount by which each value should increase for successive colours |