Clamps a RGB color number outside the sRGB color space

Paramètres

int|float $n the number to clamp:

Return value

int|float

1 call to CSSmin::clampNumberSrgb()
CSSmin::rgbToHex dans advagg_css_compress/yui/CSSMin.inc

Fichier

advagg_css_compress/yui/CSSMin.inc, line 1094

Classe

CSSmin

Code

private function clampNumberSrgb($n) {
    return $this->clampNumber($n, 0, 255);
}