Function __global->rgb_from_hsv_contrast

Definitions

sources/themewizard.php

  • Find an RGB colour with the specified contrast ratio which contrasts the specified HSV colour.
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: string

Parameters

Name Type Default Set Range Description
$h float required parameter N/A N/A Hue
$s float required parameter N/A N/A Saturation
$v float required parameter N/A N/A Value
$ratio float required parameter N/A N/A The required contrast ratio of the returned RGB colour compared to the provided HSV

Return

  • RGB colour
  • Type: string
  • Set: N/A
  • Range: N/A