Skip to main content
Version: Next

Compute Themed Color

Create a new color, based on the current theme and corresponding to given parameters

Description

Create a new color, based on the current theme and corresponding to given parameters

Inputs

  • color type (Common Color): Color type
  • tone (MUI Color Tone): Color Tone
  • transparency (Number): From 0 to 1, 0: transparent, 1: opaque

Outputs

  • color (Color): Olympe Color Object
  • color hex (String): Hexadecimal string of the returned color
  • color rgb (String): RGB string of the returned color