randomize-hex

1.0.7 • Public • Published

randomize-hex CI

Generate random hex color codes.

# Quickstart

npm install randomize-hex

Once installed import the package.

ECMAScript Syntax:

import { randomHex } from "randomize-hex";
randomHex(); //returns a hex color code

CommonJS Syntax:

const { randomHex } = require("randomize-hex");
randomHex(); //returns a hex color code

randomHex() - returns a random hex color code in the format of #ffffff

Readme

Keywords

Package Sidebar

Install

npm i randomize-hex

Weekly Downloads

3

Version

1.0.7

License

ISC

Unpacked Size

1.87 kB

Total Files

5

Last publish

Collaborators

  • jordanliu