office-ui-fabric-react
Version:
Reusable React components for building experiences for Microsoft 365.
20 lines (19 loc) • 965 B
TypeScript
export declare const MAX_COLOR_SATURATION = 100;
export declare const MAX_COLOR_HUE = 359;
export declare const MAX_COLOR_VALUE = 100;
export declare const MAX_COLOR_RGB = 255;
/** @deprecated Use MAX_COLOR_RGB (255) or MAX_COLOR_ALPHA (100) */
export declare const MAX_COLOR_RGBA = 255;
export declare const MAX_COLOR_ALPHA = 100;
/** Minimum length for a hexadecimal color string (not including the #) */
export declare const MIN_HEX_LENGTH = 3;
/** Maximum length for a hexadecimal color string (not including the #) */
export declare const MAX_HEX_LENGTH = 6;
/** Minimum length for a string of an RGBA color component */
export declare const MIN_RGBA_LENGTH = 1;
/** Maximum length for a string of an RGBA color component */
export declare const MAX_RGBA_LENGTH = 3;
/** Regular expression matching only valid hexadecimal chars */
export declare const HEX_REGEX: RegExp;
/** Regular expression matching only numbers */
export declare const RGBA_REGEX: RegExp;