API Docs for: 0.2.0
Show:

ColourSpectrum Class

Module: LE

The ColourSpectrum class is used to provide an array of HSV colours. The colours are generated in a way that all the dark and unsaturated colours are left out.

Constructor

ColourSpectrum

()

Item Index

Methods

Properties

Methods

get

(
  • index
)
LE.Colour

Returns a colour based on the index given

Parameters:

  • index Number

Returns:

LE.Colour:

colour

random

() LE.Colour

Returns a random colour from the HSV colour spectrum

Returns:

LE.Colour:

colour

Properties

colours

Array