Styled error states. Added color functions

Added a lot of functions to colors to try and accommodate weird
settings the user might set for the main color choices. These functions
include contrast() and fadeout().