Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Color

Index

Constructors

constructor

Methods

getBlueParam

  • Get blue param

    group

    hex to

    shortname

    blue

    drawable

    false

    Parameters

    Returns number

    blue param

getGreenParam

  • Get green param

    group

    hex to

    shortname

    green

    drawable

    false

    Parameters

    Returns number

    rgb color

getRedParam

  • Get red param

    group

    hex to

    shortname

    red

    drawable

    false

    Parameters

    Returns number

    rgb color

hexColor

  • hexColor(inputs: HexDto): string
  • Creates a hex color

    group

    create

    shortname

    color

    drawable

    false

    Parameters

    Returns string

    color string

hexToRgb

  • Creates rgb color from hex

    group

    convert

    shortname

    hex to rgb

    drawable

    false

    Parameters

    Returns ColorRGB

    rgb color

hexToRgbMapped

  • Creates rgb color from hex and maps to different range if needed

    group

    convert

    shortname

    hex to rgb mapped

    drawable

    false

    Parameters

    Returns ColorRGB

    rgb color

invert

  • Invert color

    group

    hex to

    shortname

    invert color

    drawable

    false

    Parameters

    Returns string

    inverted color

rgbObjToHex

  • Creates hex color from rgb obj that contains {r, g, b} properties in certain range

    group

    convert

    shortname

    rgb obj to hex

    drawable

    false

    Parameters

    Returns string

    hex color string

rgbToBlue

  • RGB to blue

    group

    rgb to

    shortname

    blue

    drawable

    false

    Parameters

    Returns number

    blue param

rgbToGreen

  • RGB to green

    group

    rgb to

    shortname

    green

    drawable

    false

    Parameters

    Returns number

    green param

rgbToHex

  • Creates hex color from rgb

    group

    convert

    shortname

    rgb to hex

    drawable

    false

    Parameters

    Returns string

    hex color

rgbToRed

  • RGB to red

    group

    rgb to

    shortname

    red

    drawable

    false

    Parameters

    Returns number

    red param

Generated using TypeDoc