Color Search: RGB vs HSL
RGB is an "optimistic" case.
RGB mode works better if database contains colors that close match
the color you're looking for.
HSL is a "pessimistic" case.
HSL works better if you're looking for some specific color that does not have
matches in the database, and you wish to select "best from worst".
HSL mode selects the colors that match by HUE, then you can correct the
lightness by adding a white / black paint.
Seek RGB match:
|
Seek HSL match:
|
RGB and HSL search calibration
|
RGB calibration:
Error minimization in RGB search is a minimization of error weight function:
F(Kr*(Ri-R0), Kg*(Gi-G0), Kb*(Bi-B0)) -> min, where:
R0, G0, B0 - color you,re looking for
Ri, Gi, Bi - color from database checked for match
Kr - weight factor for red match
Kg - weight factor for green match
Kb - weight factor for blue match
|
|
HSL calibration:
Error minimization in HSL search is a minimization of error weight function:
F(k*(Hi-H0), (Si-S0), (Li-L0)) -> min, where:
H0, S0, L0 - color you,re looking for
Hi, Si, Li - color from database checked for match
k - weight factor for hue match
|
click here to return to PaintAssistant page
|