Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 394 Bytes

Readme.md

File metadata and controls

20 lines (14 loc) · 394 Bytes

random-palette-color

Return a random palette color

Installation

$ component install yyolk/random-palette-color

Usage

var RandomPaletteColor = require("random-palette-color");
function changeBodyColor(){
  document.getElementById("body").style.backgroundColor = RandomPaletteColor();
}
changeBodyColor();

License

MIT