Author: | musically-ut |
---|---|
Views Total: | 111 views |
Official Page: | Go to website |
Last Update: | July 14, 2015 |
License: | MIT |
Preview:

Description:
Just Show Me The Colors is a lightweight yet useful JavaScript library that provides a simple way to translate html color codes in your document to actual colors. Supports any color string in RGB, RGBA, Hex, HSL or HSLA format.
How to use it:
Include the just-show-me-the-colors.js script on the web page.
<script src="just-show-me-the-colors.js"></script>
Call the justShowMeTheColors()
method on document ready.
justShowMeTheColors();
Enable the color translating on a specified container.
justShowMeTheColors(ELEMENT);
Disable the color translating on a specified element.
<div data-do-not-color> ... </div>