Returns the color value for the given key in the given associative
array or the given default value if the value is null. If the value
is Constants#NONE then null is returned.
getColor(array, key, defaultValue): any
Parameters
array: any
Associative array that contains the value for the key.
key: string
Key whose value should be returned.
defaultValue: any
Value to be returned if the value for the given
key is null. Default is null.
Returns the color value for the given key in the given associative array or the given default value if the value is null. If the value is Constants#NONE then null is returned.