Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Craft
ImagerVariable
rgb2hex
Craft\ImagerVariable::rgb2hex PHP Method
ImagerVariable Class Documentation
Show file
Open project: aelvan/Imager-Craft
rgb2hex()
public
method
Converts a rgb color value to hex
public
rgb2hex
(
array
$color
) :
string
$color
array
return
string
public function rgb2hex($color) { return Imager_ColorService::rgb2hex($color); }
ImagerVariable
base64Pixel
clientSupportsWebp
getColorPalette
getDominantColor
hex2rgb
rgb2hex
serverSupportsWebp
srcset
transformImage