Adrexia\Brand\Brand::getHex
Takes a Brand DB field name and returns the associated Hex colour
Signature
public function getHex(String
$index )
Parameters
$index
— object- - DB field name (eg 'PaletteColour1')
Returns
- String
- - Hex colour