@metacell/geppetto-meta-ui
Version:
React components from geppetto-meta to create neuroscience applications and visualize data.
12 lines (11 loc) • 488 B
TypeScript
export function splitter(str: any, l: any): any[];
/**
* Use to darken / lighten colors in rgba, rgb, or hex representation
*
* @param {String} col String representing a Color in format rgba, rgb or hex. Example 'rgba(11,22,33,0.5)' or '#123456'
* @param {Int} atm Level of dark. Example -30 is darker than -10. Use positive number for lighter colors
*
* @returns {String} - rgba color darkened by arm value
*
*/
export function getDarkerColor(col: string, amt?: number): string;