HumHub Documentation (unofficial)

RandomColor
in package

Table of Contents

Properties

$dictionary  : mixed

Methods

format()  : mixed
hsv2hex()  : mixed
hsv2hsl()  : mixed
hsv2rgb()  : mixed
many()  : mixed
one()  : mixed
__construct()  : mixed
_getColorInfo()  : mixed
_getHueRange()  : mixed
_getMinimumBrightness()  : mixed
_pickBrightness()  : mixed
_pickHue()  : mixed
_pickSaturation()  : mixed
_rand()  : mixed

Properties

Methods

format()

public static format(mixed $hsv[, mixed $format = 'hex' ]) : mixed
Parameters
$hsv : mixed
$format : mixed = 'hex'

hsv2hex()

public static hsv2hex(mixed $hsv) : mixed
Parameters
$hsv : mixed

hsv2hsl()

public static hsv2hsl(mixed $hsv) : mixed
Parameters
$hsv : mixed

hsv2rgb()

public static hsv2rgb(mixed $hsv) : mixed
Parameters
$hsv : mixed

many()

public static many(mixed $count[, mixed $options = array() ]) : mixed
Parameters
$count : mixed
$options : mixed = array()

one()

public static one([mixed $options = array() ]) : mixed
Parameters
$options : mixed = array()

_getColorInfo()

private static _getColorInfo(mixed $h) : mixed
Parameters
$h : mixed

_getHueRange()

private static _getHueRange(mixed $options) : mixed
Parameters
$options : mixed

_getMinimumBrightness()

private static _getMinimumBrightness(mixed $h, mixed $s) : mixed
Parameters
$h : mixed
$s : mixed

_pickBrightness()

private static _pickBrightness(mixed $h, mixed $s, mixed $options) : mixed
Parameters
$h : mixed
$s : mixed
$options : mixed

_pickHue()

private static _pickHue(mixed $options) : mixed
Parameters
$options : mixed

_pickSaturation()

private static _pickSaturation(mixed $h, mixed $options) : mixed
Parameters
$h : mixed
$options : mixed

_rand()

private static _rand(mixed $bounds, mixed $options) : mixed
Parameters
$bounds : mixed
$options : mixed

        
On this page

Search results