Added is-dark comparison function

`cs-is-dark` function to determine if a color is a dark color or a light color