# system.kanoa.event.getOEEColors(paramsDict, oee, availability, performance, quality)

Returns a dictionary of colors for oee, a, p and q based on the OEE thresholds set for the asset and the passed in oee values.
Asset OEE values are stored in the custom asset attribute _oeeThresholds.

---
### Parameters
**paramsDict** `Dictionary`: Requires either assetPath, assetName, or assetId. assetPath is recommended.<br />
<table class='dictionaryKeyTable'>
	<tbody>
 	<tr><td> - assetId</td><td>Integer</td><td></td></tr>	
 	<tr><td> - assetName</td><td>String</td><td></td></tr>	
 	<tr><td> - assetPath</td><td>String</td><td></td></tr>	
 	<tr><td> - oeeThresholds</td><td>Dictionary</td><td>Not required, but can be passed in to speed up execution i.e. &#123;'oeeTolerance': 0.1, 'oee': 0.6, 'aTolerance': 0.1, 'a': 0.8, 'pTolerance': 0.1, 'p': 0.8, 'qTolerance': 0.1, 'q': 0.8&#125;</td></tr>	
	</tbody>
</table>

**oee** `Float`: OEE value to check<br />
**availability** `Float`: Availability value to check<br />
**performance** `Float`: Performance value to check<br />
**quality** `Float`: Quality value to check<br />

---
### Returns
**oeeColors** `Dictionary` i.e. `{'performance' '--kcGood', 'availability' '--kcBad', 'quality' --kcOk'}`<br />

---
### Example
```python
paramsDict={'assetPath': 'Kanoa Industries'}
oee = 0.8
a = 0.6
p = 0.3
q = 0.8
print system.kanoa.event.getOEEColors(paramsDict, oee, a, p, q)
>>>
{'availability': '--kcBad', 'oee': '--kcGood', 'quality': '--kcGood', 'performance': '--kcBad'}

```
