Rqblwwoedqmwc
New Member
Is it possible to check if a certain hexadecimal color is closer to FFF or 000 based on a defined 'center-value'?I want to check if a color lies closer to #FFF or #000 based on #888. So if I check for #EFEFEF it should return #FFF and if I try #878787 it should return #000.How can this be achieved? I'm not sure what to search for on Google...Thanks in advance