Gets the brightness of the $hex color.
public static get_brightness ( string $hex ) : integer | ||
$hex | string | The hex value of a color. |
Résultat | integer | Value between 0 and 255. |
public static get_brightness ( string $hex ) : integer | ||
$hex | string | The hex value of a color. |
Résultat | integer | Value between 0 and 255. |