Advertisement

Author

  • Adam Quinlan

Made with

  • HTML / CSS / JS

About the code

Material Icon Shadow Color Picker

Chatting with a friend, we were talking about a pure JS way to have a user input a google material color (between shades 400-600) and have the hex value spit out for both that color and its associated 'shadow-color' (3 shades darker than the selected color).

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Responsive: no

Dependencies: clipboard.js