Table of Contents

Imports

Introduction

This projects is adapted from https://github.com/kevinwuhoo/randomcolor-py

Options

You can pass an options object to influence the type of color it produces. The options object accepts the following properties:

Hue – Controls the hue of the generated color. You can pass a string representing a color name: red, green, blue, orange, yellow, purple, pink and monochrome are currently supported. RGB MYPPO

Luminosity – Controls the luminosity of the generated color. You can specify a string containing bright, light or dark.

Count – An integer which specifies the number of colors to generate.

Seed - An integer or string which when passed will cause randomColor to return the same color each time.

Format – A string which specifies the format of the generated color. Possible values are rgb, rgbArray, hsl, hslArray and hex (default).