molstar
Version:
A comprehensive macromolecular library.
11 lines (10 loc) • 552 B
TypeScript
/**
* Copyright (c) 2025 mol* contributors, licensed under MIT, See LICENSE file for more info.
*
* @author David Sehnal <david.sehnal@gmail.com>
*/
import { Color, ColorListEntry } from './color.js';
export declare function decodeColor(colorString: string | undefined | null): Color | undefined;
export declare function getColorGradientBanded(colors: ColorListEntry[]): string;
export declare function getColorGradient(colors: ColorListEntry[]): string;
export declare function parseColorList(input: string, separator?: RegExp): ColorListEntry[];