Function __global->hsv_to_rgb
Definitions
sources/themewizard.php
- Convert HSV colour components to an RGB colour. Based on publicly distributed code fragments which were themselves based on others: reasonably assumed as public domain.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: string
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $h | float | No | No | required parameter | N/A | N/A | H component |
| $s | float | No | No | required parameter | N/A | N/A | S component |
| $v | float | No | No | required parameter | N/A | N/A | V component |
Returns
- RGB colour
- Type: string
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Convert HSV colour components to an RGB colour. Based on publicly distributed code fragments which were themselves based on others: reasonably assumed as public domain.
*
* @param float $h H component
* @param float $s S component
* @param float $v V component
* @return string RGB colour
*/
function hsv_to_rgb(float $h, float $s, float $v) : string
* Convert HSV colour components to an RGB colour. Based on publicly distributed code fragments which were themselves based on others: reasonably assumed as public domain.
*
* @param float $h H component
* @param float $s S component
* @param float $v V component
* @return string RGB colour
*/
function hsv_to_rgb(float $h, float $s, float $v) : string

