UNPKG

colorizr

Version:
11 lines (8 loc) 262 B
import updater from '~/modules/updater'; import { Amount, ColorType } from '~/types'; /** * Increase color lightness */ export default function lighten(input: string, amount: Amount, format?: ColorType) { return updater('l', '+', format)(input, amount); }