Skip to main content

Color

A representation of a color that adapts to a given context.

Example​

<Color.red frame={{ width: 100, height: 100 }} />

Supported Colors:

  • Color.black
  • Color.blue
  • Color.brown
  • Color.clear
  • Color.cyan
  • Color.gray
  • Color.green
  • Color.indigo
  • Color.mint
  • Color.orange
  • Color.pink
  • Color.purple
  • Color.red
  • Color.teal
  • Color.yellow
  • Color.accentColor
  • Color.primary
  • Color.secondary
  • Color.white

Props​

Color inherits all View Modifiers as props.

propdescriptiontyperequireddefault
colorThe color valueColornoundefined