changed old color mixin to use Ryan Robert's much cleaner function