JavaScript Colors

Open-source JavaScript projects categorized as Colors | Edit details

Top 12 JavaScript Color Projects

  • terminalizer

    🦄 Record your terminal and generate animated gif images or share a web player

    Project mention: Recording the terminal to an animated GIF? | | 2022-01-20
  • chroma.js

    JavaScript library for all kinds of color manipulations

    Project mention: chroma.js - a small-ish zero-dependency JavaScript library (13.5kB) for all kinds of color conversions and color scales | | 2021-12-20
  • Scout APM

    Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.

  • styled-system

    ⬢ Style props for rapid UI development

    Project mention: TaskEz: Design to Code - Chapter 1 | | 2021-11-27

    You can read more about styled system here,

  • color-names

    Large list of handpicked color names 🌈

    Project mention: Getting Closest Color Fails In Library. Is It Me | | 2021-12-16

    I am testing out a library called "color-names" ( ). In that library they give examples of how to get the name of exact colors or, if theres no name to a specified hex color, the closest color to it with a name.

  • colorette

    🌈Easily set your terminal text color & styles.

    Project mention: 📦 Top alternatives for "colors" and "faker" | | 2022-01-10 (16.9M weekly downloads) (1.4k stars)

  • leonardo

    Generate colors based on a desired contrast ratio

    Project mention: Random color palette generator API? | | 2021-05-11

    idk but seems promising

  • sorted-colors

    A tool to sort the named CSS colors in a way that it shows related colors together

    Project mention: Perpetual Education: Week 3 | | 2021-11-23

    We’ve moved from using the attributes within HTML tags to using the actual tag the in the head of the HTML doc. This is our introduction to the CSS rule. Much easier on the eyes. I always find it odd that people who are comfortable with JavaScript find CSS confusing. To me this syntax is the most straightforward. I remember the first time I saw the CSS rule and thinking “this makes sense.” It’s actually a lot of fun so it’s easy to get carried away. Sometimes I’ll go nuts and style an element to the point where it makes more sense to just throw together an image in Affinity Designer.

    Next up was our first challenge. For this we had to create a multi-page site with a nested file structure. Nothing too crazy. Some trial and error. Lots of page refreshing and questioning if you put the 2 periods and slash in the right order, in the right place — welcome to coding. Aside from that we had to style each page slightly differently. For mine I referenced this awesome color palette generator and threw in some linear-gradients to accent each block element. If you’re interested you can check it here.

    For the next lesson we got introduced to the pen tool in Affinity Designer and CodePen:

    1. The Pen Tool

      1. Takes some getting used to.
      2. I can see it’s power but I suck at it right now.
      3. Slowly gaining a natural sense of how to use it.
      4. Created this creepy ghost with hollow eyes (see fig. 1). Don’t judge me.
    2. CodePen

      1. Love this site. Great for workshopping ideas, collaboration, inspiration, etc.
      2. Had to create text with an image inside it
      3. I chose CAGE and put a different image of the controversial Nicolas Cage inside each letter.
      4. Chose a font with a thick width so I could get his face in there.
      5. Messed with some CSS properties I don’t fully understand but hey! I got a working model. Looks cool too. Check it here.
      6. He looks so “at home” with a fire background.
    3. Had to create a pen using the float: property

      1. Never used this before. I find it useful but a lot of devs don’t seem too stoked on this.
      2. Created my own version of this page from the Forest Park website.
      3. Used an image of the Olmstead bros for the float: property.
      4. Interested? Check it here.

    creepy ghost

    Hello s and hash links. Got familiarized with embedding the YouTube videos on a webpage. s have their use but Derek showed us how if used incorrectly they can mess up the google search for your site. Hash links are pretty standard if you’re setting up a single page site. Easy and intuitive. Added some smooth scrolling with hash links to the Dead Moon redesign I’m having fun with. Check it here.

    Next up we learned about CSS resets. There’s all these automated sizes and margins when you don’t reset, so it’s nice to build from scratch and have full control. Along with that we learned about some useful CSS properties like letter-spacing: and line-height:. Never thought twice about these 2 things but now I can’t unsee it. Also learned how to combine selectors to style multiple elements at the same time. For the sake of practice, I got a little wacky with styling this page.

    Like I’ve said in the past, some days at PE aren’t completely buried in the computer. To take a break from coding we learned about the history of printing. We watched 3 documentaries. All really cool and interesting. I really enjoyed the last one on Linotype. It was a bit sad seeing it get phased out in favor of computers but you can’t argue when computers can pump out 1,000 lines a minute whereas the Linotype machine can only do 14. The scene with the guy using the machine one last time was particularly sad. He’s just drags his fingers slowly across the keys, trying to make the most of it.

    Derek took a day off so Drake could teach us about box-sizing:. Thanks Drake.

    Now that we’re a bit more comfortable using CSS and HTML we were tasked with styling an article. The goal was to try and make it look legit and fun to read. I started thinking of random topics I’m interested in and looked up an article on Slab City. I took the text and photos from this NPR article and styled it in my own way. I initially made a colored version but then noticed that that we were suppose to make it black and white. Whoops. Did a quick fix. Always knew that double border would look cool at some point. Adjusted the font for SLAB in the title too. Did a google search for “CSS make photo grey” and up came the MDN doc for the filter: property. Pretty cool.

    Believe it or not, Bill Murray hired me to make his personal site. Well… Derek pretended to be him — same thing though. William (as his friends call him) has no taste. You’d figure all that time spent with Wes Anderson would have a profound effect on him but I guess not. This exercise was just a fun intro to what it might be like working with a client. I look forward to deleting these from my CodePen archive. Marble backgrounds? 🤮

    Moving onto semantic markup and the inner-column — a good standard way of designing a page. Basically you set the content of each display: block; element inside a

    to make an inner-column. Looks nice and organized when you put a around everything.

    After learning this William( 🤡 ) contacted me again to update his site. He let his friend take a stab at it. She did pretty good but I had to do a few quick fixes. This was more so practice for semantic markup, creating an inner-column, and spotting redundant CSS declarations.

    Now we’re jumping from CodePen and back into Sublime to revisit our multi-page site. When we first built this it had no styling but now we’re tasked with creating one style sheet that can be applied to every page. Kept it pretty simple for this one. Just used a subtle color combo and the Roboto font. Really basic styling depending on font-size: and font-weight:. I like it. Hey! I added my movie lists to the site if you’re ever bored and don’t know what to watch.

    Following this we had another easygoing day. This time we watched a documentary on Helvetica. Another one of the those things I can’t unsee now that I’m aware of it. I thought I was a nerd but holy crap, I got nothing on these typography nerds. Some of those scenes reminded me of Spinal Tap and King of Kong. I like the scene where David Carson (sort of the anti-Helvetica dude) looks at the word caffeinated (spelled in Helvetica) and says, “that doesn’t say caffeinated!”

    Back to coding. Now we get to research, plan, and execute a project. We had to do a lot (for me) within the time constraints. This was fun but some of my code is super wonky. Hey, desperate times call for desperate syntax. For this one I made a tame version of Jacob Leach’s personal site. Here’s my sad version.

    Welp, that’s the gist. See ya again next week! ✌️

    …craving some Elton John.

  • SonarLint

    Deliver Cleaner and Safer Code - Right in Your IDE of Choice!. SonarLint is a free and open source IDE extension that identifies and catches bugs and vulnerabilities as you code, directly in the IDE. Install from your favorite IDE marketplace today.

  • color-sorter

    Sort CSS colors by hue, then by saturation

    Project mention: Tools for Auditing CSS | | 2021-06-07

    Color Sorter — Sort CSS colors by hue, then by saturation.

  • random-colors-palette

    Project mention: Random-colors-palette | | 2021-05-13
  • colorinator

    A quick color palette generator based on the 60/30/10 rule of UI design.

    Project mention: A quick and simple color palette generator for your next project. | | 2021-06-23

    View on GitHub

  • swatches-to-ase

    Convert Procreate swatches files to Adobe ase format. Can be used for importing Procreate palettes into Photoshop or other programs like Illustrator or Affinity Designer.

    Project mention: GitHub Newbie: Need help with running code. | | 2022-01-08

    Hey y'all. I am trying to use some code off of github, but unfortunately the instructions on it aren't super comprehensive, and my knowledge of coding isn't much better. If anybody would be able to help me use that would be amazing; I'm essentially just trying to change Procreate swatches to Photoshop Swatches, but I've never used npm before.

  • forkcolours

    A brand new, not another, special and fast Node.js library to ANSI colours to terminal output.

    Project mention: Show HN: Fork Colours, a brand new, not another, special and fast library | | 2021-09-27
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2022-01-20.

JavaScript Colors related posts


What are some of the best open-source Color projects in JavaScript? This list will help you:

Project Stars
1 terminalizer 12,287
2 chroma.js 8,510
3 styled-system 7,150
4 color-names 1,422
5 colorette 1,357
6 leonardo 1,142
7 sorted-colors 544
8 color-sorter 43
9 random-colors-palette 6
10 colorinator 3
11 swatches-to-ase 2
12 forkcolours 1
Find remote jobs at our new job board There are 30 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
OPS - Build and Run Open Source Unikernels
Quickly and easily build and deploy open source unikernels in tens of seconds. Deploy in any language to any cloud.