Skip to content

cupertino-files / hexColor

Function: hexColor()

hexColor(hex): Color

Defined in: src/tsd/style.ts:66

Parse #rgb, #rrggbb or #rrggbbaa into a Color.

Parameters

hex

string

Returns

Color

MIT licensed. Independently made — not by Apple in California. Not affiliated with or endorsed by Apple Inc.