Nicely Pruned Marigolds

    palx
    DefinitelyTyped icon, indicating that this package has TypeScript declarations provided by the separate @types/palx package

    1.0.3 • Public • Published

    Palx

    Automatic UI Color Palette Generator

    https://palx.jxnblk.com

    npm i palx

    Provide a single color value and Palx returns a full-spectrum color palette, well suited for UI design and data visualizations that work harmoniously with brand colors.

    const palx = require('palx')
     
    palx('#07c')
    // Returns a color object with
    // 12 hues and a gray spread across
    // 10 luminance steps

    About

    Inspired by Open Color, Palx takes a single input color, then spreads the hue across the color spectrum in 12 steps, and spreads each hue across 10 luminance steps. Palx also desaturates the main color to create shades of gray and a black that are based off the original color.

    Related

    MIT License

    Install

    npm i palx

    DownloadsWeekly Downloads

    2,360

    Version

    1.0.3

    License

    MIT

    Unpacked Size

    6.79 kB

    Total Files

    8

    Last publish

    Collaborators

    • jxnblk