Skip to content

tiagojsalmeida/color-palette

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

#color-palette ####Ruby script to get the color palette of any url. #####This is an improved version from Alyssa color-palette ruby script.


####Running script:

ruby color.rb 'url'

####Colors extractor:

  • The color palette considers hex, rgb, rgba and english word colors (ex. red, green, blue);
  • All colors are translated to hex just for consistency;
  • Search all colors within External, Inline and Embedded stylesheets;
  • Will return in JSON;
  • This script ignores opacity.

####Available urls:

About

Ruby script to get the color palette of any url

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages