Update Pixel function with RGB compat

Pixel function supports both RGB and Hex color codes now.