implementing qcolor. because.