Colorfi is a color theme generation tool that outputs colors directly to variables for use in code.
The live version of this project may be accessed at colorfi.emartus.dev.
Clone repository
git clone https://github.com/Erik-Martus/colorfi.gitInstall dependencies
npm installStart application
npm start- Choose from the available preselected themes by clicking on the "Choose a Theme" button at the top of the page, or customize the color swatches below.
- To edit a color click on the color swatch to open its editor panel.
- Use the color picker or hex input to select a desired color. Alternatively clicking the die icon will randomly select a color.
- Use the "Enable Shades" toggle to enable the shade customization options.
- "Number of Shades" - Configurable between 1 and 9 shades.
- "Base Color Position" - Set the position of the base color relative to its generated shades. The base color is indicated by the white dot in the shade swatches.
- "HSL Adjustment" - Configure how the shades are computed using the HSL color space.
- Add additional colors to the theme using the plus button at the end of the color swatches.
- Remove any color by clicking the trash icon located beneath its swatch.
- To randomize all colors click the die icon located above the color swatches.
- To prevent a specific color from being randomized by this function, toggle the lock beneath that particular swatch.
- Select the desired output language for the color variables from either
CSS,SCSS,SASS,LESS, orTailwindand select the preferred way to format the text case of the variables in either snake (primary-color) or camel (primaryColor).