I would like a program that does something like this: https://www.colortools.net/color_matcher.html
Anyone know how to do in flutter?
I expect a function that compares two colors.
I would like a program that does something like this: https://www.colortools.net/color_matcher.html
Anyone know how to do in flutter?
I expect a function that compares two colors.
3
Answers
I looks for an algorithm that uses the result as a percentage. Color difference in %
You can also compare two
Colors
by directly comparing theirint
value :You can achieve comparison between two colors, is by comparing their degree of
RGB
, red, green, blue.Note:
this will result in a full comparison of two colors, you can also compare only one of the three
RGB
each separately to get percentage of match.