DominantColorImageExtension::colorToHex
Converts a color array into a hex string
Signature
protected function colorToHex(Array
$color )
Parameters
$color
— object- [red, green, blue]
Returns
- String
- color as hex i.e. #ff0000