Using ternary operator for fallback on key color.