Fix casting issue, use enums for color purpose

Signed-off-by: JWhy <jwhy@jwhy.de>