ProductAttributeDecoratorColour_Value::IsHtmlColour
it checks if the colourName exists and returns the colour code or an empty string if it does not exist "black" should return either #000000 "blabla" should return ""
Signature
protected function IsHtmlColour(String
$colourName )
Parameters
$colourName
— object- word for the colour (e.g. black)
Returns
- String