Options
All
  • Public
  • Public/Protected
  • All
Menu

Module roosterjs-color-utils

Index

Functions

Functions

getDarkColor

  • getDarkColor(color: string, baseLValue?: number): string
  • Get dark mode color for a given color

    Parameters

    • color: string

      The color to calculate from

    • baseLValue: number = ...

      The Light value for base dark color in LAB format. @default the Light value for #333333

    Returns string

Generated using TypeDoc