Fixed error with rendering color in api<21

2 jobs for master in 4 minutes and 53 seconds (queued for 2 seconds)