Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IColour<T>

Provides a set of aliases that must be implemented in classes that extend the interface. These provide helpful named properties for accessing the divisions in the context of colours.

example
Strawman example ```ts const red = new Colour({ base: '#F44336' }); length.dark; // -> '#D32F2F' length.normal; // -> '#F44336' length.light; // -> '#E57373' ```

Type parameters

  • T

Hierarchy

  • IColour

Implemented by

Index

Properties

dark

dark: T

Usually accesses divisions 700

darkened

darkened: T

Usually accesses divisions 600

darker

darker: T

Usually accesses divisions 800

darkest

darkest: T

Usually accesses divisions 900

light

light: T

Usually accesses divisions 300

lightened

lightened: T

Usually accesses divisions 400

lighter

lighter: T

Usually accesses divisions 200

lightest

lightest: T

Usually accesses divisions 100

normal

normal: T

Usually accesses divisions 500