Skip to content

It colorifies your html page just by adding a simple js file :)

License

Notifications You must be signed in to change notification settings

abe312/colors.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

colors.js

Requirements:

  • jquery (link included in usage)
  • by default it adds id=colors in the body element

Usage:

  • copy colors.js into your project directory
  • add the following code into <head>:

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js"></script>

<script type="text/javascript" src="/path/to/color.js" charset="utf-8"></script>

Sample image

alt tag

Example html file

<!DOCTYPE html>
<html>
	<head>
		<title>highlight</title>
		
		<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js"></script>
	 <script type="text/javascript" src="colors.js" charset="utf-8"></script>
		 <link href="main.css" type="text/css"  rel="stylesheet"/>
		 
	</head>
	<body>
	<p> 
	    black
	    orange
	    rebeccapurple
	    aliceblue
	    antiquewhite 
	    aqua
	    aquamarine
	    azure
	    beige
	    bisque  
	    blanchedalmond
	    blue
	    blueviolet
	    brown
	    burlywood
	    cadetblue  
	    chartreuse
	    chocolate 
	    coral
	    cornflowerblue
	    cornsilk
	    crimson
	    darkblue  
	    darkcyan
	    darkgoldenrod
	    darkgray
	    darkgreen
	    darkgrey  
	    darkkhaki
	    darkmagenta  
	    darkolivegreen
	    darkorange
	    darkorchid
	    darkred
	    darksalmon
	    darkseagreen
	    darkslateblue  
	    darkslategray
	    darkslategrey  
	    darkturquoise
	    darkviolet
	    deeppink
	    deepskyblue  
	    dimgray
	    dimgrey
	    dodgerblue
	    firebrick 
	    floralwhite
	    forestgreen
	    fuchsia
	    gainsboro
	    ghostwhite  
	    gold
	    goldenrod
	    gray
	    green
	    greenyellow
	    grey
	    honeydew
	    hotpink
	    indianred
	    indigo
	    ivory  
	    khaki  
	    lavender
	    lavenderblush
	    lawngreen
	    lemonchiffon
	    lightblue
	    lightcoral
	    lightcyan 
	    lightgoldenrodyellow
	    lightgray
	    lightgreen
	    lightgrey 
	    lightpink
	    lightsalmon  
	    lightseagreen
	    lightskyblue  
	    lightslategray
	    lightslategrey 
	    lightsteelblue
	    lightyellow
	    lime
	    limegreen
	    linen
	    maroon  
	    mediumaquamarine
	    mediumblue
	    mediumorchid
	    mediumpurple  
	    mediumseagreen
	    mediumslateblue 
	    mediumspringgreen
	    mediumturquoise
	    mediumvioletred
	    midnightblue
	    mintcream
	    mistyrose
	    moccasin  
	    navajowhite
	    navy
	    oldlace
	    olive
	    olivedrab
	    orangered
	    orchid
	    palegoldenrod
	    palegreen
	    paleturquoise
	    palevioletred
	    papayawhip
	    peachpuff
	    peru
	    pink
	    plum
	    powderblue
	    purple
	    red
	    rosybrown
	    royalblue
	    saddlebrown  
	    salmon
	    sandybrown
	    seagreen
	    seashell  
	    sienna
	    silver 
	    skyblue
	    slateblue 
	    slategray  
	    slategrey
	    snow
	    springgreen
	    steelblue
	    tan  
	    teal
	    thistle  
	    tomato
	    turquoise
	    violet
	    wheat
	    white
	    whitesmoke
	    yellow
	    yellowgreen
	    cyan
	    magenta
	</p>	
	</body>
</html>

About

It colorifies your html page just by adding a simple js file :)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published