iamartyom / ColorHelper

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BakerMillerPink is causing an exception.

lyssieth opened this issue · comments

commented

This seems to be a missing case in your switch statement.

I'm iterating over all values of ColorName because I'm using it to find the nearest color name for a user-input color.

commented

The issue is at

case ColorName.BabyPowder:
return new RGB(100, 100, 98);
case ColorName.BananaMania:
return new RGB(98, 91, 71);

commented

It's the only one missing as far as I can tell.

Hi @lyssieth.

Thanks for your contributing.

I will merge your changes and create new release now with version 1.6.1.