T
T
Temi2016-01-04 15:14:09
PHP
Temi, 2016-01-04 15:14:09

How to compare two colors in hex format for similarity?

How to compare two colors in hex format for similarity?
How to find out the difference between them in order to find the most similar one from the list?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
newobj, 2016-01-04
@newobj

Have you tried googling???
php.net/manual/en/function.hexdec.php
upd: translate and subtract

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question