/** * S-52 IHO standard color palette. * * Three display modes: DAY_BRIGHT, DUSK, NIGHT. * Color tokens map to specific meanings in chart display. */ export type DisplayMode = 'DAY_BRIGHT' | 'DUSK' | 'NIGHT'; export interface RGB { r: number; g: number; b: number; } /** S-52 named color tokens used throughout the Presentation Library */ export declare const COLOR_TOKENS: { readonly NODTA: "NODTA"; readonly DEPVS: "DEPVS"; readonly DEPIT: "DEPIT"; readonly DEPMS: "DEPMS"; readonly DEPMD: "DEPMD"; readonly DEPDW: "DEPDW"; readonly LANDA: "LANDA"; readonly LANDF: "LANDF"; readonly CHGRD: "CHGRD"; readonly CHBLK: "CHBLK"; readonly CHBRN: "CHBRN"; readonly CHMGD: "CHMGD"; readonly CHRED: "CHRED"; readonly CHGRN: "CHGRN"; readonly CHYLW: "CHYLW"; readonly CSTLN: "CSTLN"; readonly SNDG1: "SNDG1"; readonly SNDG2: "SNDG2"; readonly DEPSC: "DEPSC"; readonly RESBL: "RESBL"; readonly APTS: "APTS"; readonly OUTLW: "OUTLW"; readonly OUTLL: "OUTLL"; readonly RADHI: "RADHI"; readonly LITRD: "LITRD"; readonly LITGN: "LITGN"; readonly LITYW: "LITYW"; readonly ISDNG: "ISDNG"; readonly TRFCF: "TRFCF"; readonly TRFCD: "TRFCD"; }; export type ColorToken = keyof typeof COLOR_TOKENS; /** Resolve a color token to RGB for the given display mode. */ export declare function resolveColor(token: string, mode?: DisplayMode): RGB; /** Convert RGB to CSS color string. */ export declare function rgbToCSS(rgb: RGB, alpha?: number): string; //# sourceMappingURL=colors.d.ts.map