Now actually uses colorscheme object, still to implement brightness and contrast variables, various clamps still needed