Noosphere Possibilities Maximized

    @jacobmischka/transform-color

    1.0.0 • Public • Published

    @jacobmischka/transform-color

    transformColor(start, end, transformedValue);

    Creates a color that's transformedValue of the way between start and end.

    Very simple wrapper over the excellent Color library.

    Usage:

    import transformColor from '@jacobmischka/transform-color';
     
    let purple = transformColor('red', 'blue', 0.5);
    let lightPink = transformColor('white', 'red', 0.1);
    let translucentOrange = transformColor('transparent', 'orange', 0.4);

    Keywords

    none

    Install

    npm i @jacobmischka/transform-color

    DownloadsWeekly Downloads

    1

    Version

    1.0.0

    License

    MIT

    Last publish

    Collaborators

    • jacobmischka