All Projects โ†’ dmarman โ†’ Dmarman.github.io

dmarman / Dmarman.github.io

Licence: mit
Tailwind Ink is an AI palette generator trained with the Tailwindcss colors.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Dmarman.github.io

Nord
An arctic, north-bluish color palette.
Stars: โœญ 4,816 (+1796.06%)
Mutual labels:  palette, color-palette
Colourlovers
๐ŸŽจ ๐Ÿ“ฆ R Client for the COLOURlovers API
Stars: โœญ 92 (-63.78%)
Mutual labels:  palette, color-palette
Vapeplot
matplotlib extension for vaporwave aesthetics
Stars: โœญ 483 (+90.16%)
Mutual labels:  palette, color-palette
Colorpicker
jQuery UI widget for color picking (similar to the one in Microsoft Office 2010).
Stars: โœญ 271 (+6.69%)
Mutual labels:  palette, color-palette
vscode-color
Helper with GUI to generate color codes such as CSS color notations.
Stars: โœญ 88 (-65.35%)
Mutual labels:  palette, color-palette
R Color Palettes
Comprehensive list of color palettes available in r โค๏ธ๐Ÿงก๐Ÿ’›๐Ÿ’š๐Ÿ’™๐Ÿ’œ
Stars: โœญ 708 (+178.74%)
Mutual labels:  palette, color-palette
Material Design Colors
Palette for Android Material Design colors.
Stars: โœญ 25 (-90.16%)
Mutual labels:  palette, color-palette
Md Color Picker
Angular-Material based color picker
Stars: โœญ 253 (-0.39%)
Mutual labels:  palette, color-palette
hcv-color
๐ŸŒˆ Color model HCV/HCG is an alternative to HSV and HSL, derived by Munsell color system, usable for Dark and Light themes... ๐ŸŒˆ
Stars: โœญ 44 (-82.68%)
Mutual labels:  palette, color-palette
Ciapre.tmTheme
Ciapre - an easy-on-the-eyes Sublime Text/TextMate color scheme.
Stars: โœญ 63 (-75.2%)
Mutual labels:  palette, color-palette
pantone-colors
Hex values of all 2310 Pantone colors
Stars: โœญ 147 (-42.13%)
Mutual labels:  palette, color-palette
gameofthrones
๐ŸŽจ Game of Thrones inspired palette for R
Stars: โœญ 69 (-72.83%)
Mutual labels:  palette, color-palette
javascript-color-gradient
Lightweight JavaScript library, used to generate an array of color gradients, between start and finish colors.
Stars: โœญ 54 (-78.74%)
Mutual labels:  palette, color-palette
wefootwear-store
next js footwear store e-commerce ๐Ÿš€๐Ÿš€๐Ÿš€
Stars: โœญ 17 (-93.31%)
Mutual labels:  tailwindcss
Next-JS-Landing-Page-Starter-Template
๐Ÿš€ Free NextJS Landing Page Template written in Tailwind CSS 3 and TypeScript โšก๏ธ Made with developer experience first: Next.js 12 + TypeScript + ESLint + Prettier + Husky + Lint-Staged + VSCode + Netlify + PostCSS + Tailwind CSS
Stars: โœญ 521 (+105.12%)
Mutual labels:  tailwindcss
tailwindcss-snippets
Collection of animation snippets made for TailwindCSS
Stars: โœญ 98 (-61.42%)
Mutual labels:  tailwindcss
preset-tailwindcss
DEPRECATED: Statamic 3 starts with TailwindCSS out of the box.
Stars: โœญ 23 (-90.94%)
Mutual labels:  tailwindcss
Shopify Theme Lab
Shopify theme development environment using Liquid, Vue and Tailwind CSS ๐Ÿงช
Stars: โœญ 250 (-1.57%)
Mutual labels:  tailwindcss
chat-app
A chat app built with Node.js, Socket.io, React.js, and Tailwind CSS.
Stars: โœญ 29 (-88.58%)
Mutual labels:  tailwindcss
laravel-vue-survey
This is a full stack application of Vue 3 with Tailwindcss 3 and Laravel 8
Stars: โœญ 92 (-63.78%)
Mutual labels:  tailwindcss

TailwindInk in action

Tailwind Ink

Tailwind Ink is an AI palette generator trained with the Tailwindcss colors.

Alert: This tool was made as a side project, and the code is still messy.

How does it work?

It uses two neural networks to predict the full palette. The first, models/shadesModel.js it predicts all the shades vertically from 50-900 given a certain color as input. The second, models/nextModel.js predicts horizontally all the colors given a certain shade as input.

Models

When the models are imported using the models/wrapper/wrapper.js, they return a function that accepts a color in HEX and returns a flat object with the RGB values ranging from 0 to 1 for all shades. Multiplying those by 255 will return a valid color.

import rawShades from './models/shadesModel'
import rawNext from './models/nextModel'
import modelWrapper from './models/wrapper/wrapper'

let nextModel = modelWrapper(rawNext);
let shadesModel = modelWrapper(rawShades);

let shades = shadesModel('#0064FF'); // shade-50: r0.5, g0.5, b0.5; shade-100: r1, g1, b1 ... 

The Tool

Given a color picked by the user, shadesModel.js creates an initial full set of 50-900 shades. The picked color is also passed to nextModel.js, which returns the next 9 colors of the palette. Then, these 9 colors are transformed individually into 50-900 shades using shadesModel.js again.

Development

Download the repo and run:

npm install
npm run watch

Training the model

The model training will start automatically if you open shades.html or next.html. Open the browser console to check the training progress. Once finished, you can pick a color and play around with the model's results on the same page. You can also train the model from your terminal typing:

clear
node src/training/next.js
// or 
node src/training/shades.js

Model Tuning

For tuning the model, you can adjust training/shades.js and training/next.js. If you are training on the browser, remember to have npm run watch running.

Saving the model

Once the training finishes, the console will output a big inference function. You can copy-paste it in models/nextModel.js or models/shadesModel.js. Remember to have npm run watch running. Otherwise, the model won't be imported in index.html.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].