hneth / unikn

Enabling corporate design elements in R (with colors and color-related functions)
38 stars 6 forks source link

Failing to find custom color palettes? #4

Closed hneth closed 5 years ago

hneth commented 5 years ago

When using seecol(pal = list(pal_1, pal_2)) to compare (or scale) multiple color palettes, some custom color palettes (e.g., pal_freiburg_basic from the README) are currently not found.

nigradwohl commented 5 years ago

This was due to an error with the isHexCol() function, which did not recognize hexadecimal colors starting with lowercase letters. I changed the function accordingly.

hneth commented 5 years ago

Excellent & thanks a lot for the fix!