Function __global->_re_hue_image_colour
Definitions
sources/themewizard.php
- Update a colour towards a new seed colour, using the given $*_dif components.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: array
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$seed_h | integer | required parameter | N/A | N/A | Seed hue |
$seed_s | integer | required parameter | N/A | N/A | Seed saturation |
$seed_v | integer | required parameter | N/A | N/A | Seed value |
$hue_dif | integer | required parameter | N/A | N/A | Hue difference |
$sat_dif | integer | required parameter | N/A | N/A | Saturation difference |
$val_dif | integer | required parameter | N/A | N/A | Value difference |
$r | integer | required parameter | N/A | N/A | Colour red value |
$g | integer | required parameter | N/A | N/A | Colour green value |
$b | integer | required parameter | N/A | N/A | Colour blue value |
$also_s_and_v | boolean | False | N/A | N/A | Whether to also adjust the S and V components |
$invert | boolean | False | N/A | N/A | Whether to invert the colours |
Return
- New RGB colour components
- Type: array
- Set: N/A
- Range: N/A