79736135

Date: 2025-08-15 06:21:48
Score: 1
Natty:
Report link

You're doing what many start with: RGB/HSV distance. The issue you're hitting is a classic — perceived color and numberic proximity in RGB...

Color math ain't mathin...

A couple breadcrumbs:

There's a color space with a name that starts with L and ends in ab — look into it.

Once there, don't just calculate raw distance — search for a metric named deltaE, specifically the one from the 2000s.

If your algorithm thinks dark blue is silver, you might want to investigate how saturation and luminance interact in low-light colors.

You're not far off. Just need to switch dimensions (literally).

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Tomi Johnson