UNPKG

@atlaskit/adf-schema

Version:

Shared package that contains the ADF-schema (json) and ProseMirror node/mark specs

8 lines (7 loc) 227 B
/** * Converts hex color format to rgb. * Works well with full hex color format and shortcut as well. * * @param hex - hex color string (#xxx, or #xxxxxx) */ export declare function hexToRgb(color: string): string | null;