Skip to content

ianmassey/jquery.hexcolor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jQuery.hexColor

example usage for text color - $("p").hexColor();

  • returns value of $elem.css('color') in hex format.
  • returns array if multiple color values in collection provided, or string if only one color found.

$("p").backgroundHexColor(); does the same thing for $elem.css('background-color')

Released under the MIT License.

About

plugin for getting hex color from other color formats

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published