bgrins / TinyColor

Fast, small color manipulation and conversion for JavaScript

Home Page:https://bgrins.github.io/TinyColor/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

isReadable doesn't take alpha into account

ffxsam opened this issue · comments

My color picker component which is using isReadable() to tell the user if the color contrast is OK:

image

Chrome disagrees:

image