Save Expand icon

Ron Valstar
front-end developer

Added alpha to MCPicker

A regular input[type=color] has a variety of user interfaces depending on platform or browser. Some ok but all different, which is why I made MC Picker a few years back: a simple script that works on any color input and looks like this:

Alpha

One annoying thing that all these native implementations have in common is that they do not support alpha channels. Even though #FF004480 is a perfectly valid color in CSS. MC Picker now supports alpha as well, by means of a input[type=color][data-alpha=127].

ps

I also added dataList support


comment send comment