Options
All
  • Public
  • Public/Protected
  • All
Menu

Module Color/rgbStringToHexColor

Index

Functions

rgbStringToHexColor

  • rgbStringToHexColor(rgbRaw: string): string
  • Converts an rgb string like rgb(0, 233, 25) or rgba(0, 200, 33, 0.2) into it's hex representation.

    Parameters

    • rgbRaw: string

    Returns string

Generated using TypeDoc