Function __global->rgb_to_hsv

Definitions

sources/themewizard.php

  • Convert an RGB colour to HSV colour components. Based on publicly distributed code fragments which were themselves based on others: reasonably assumed as public domain.
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: array

Parameters

Name Type Default Set Range Description
$rgb string required parameter N/A N/A RRGGBB colour

Return

  • Triplet of (0-255) components: H, S, V
  • Type: array
  • Set: N/A
  • Range: N/A