Extend function simplified for compatibility reasons.
Hex colors instead of colors' names.