Logo

dev-resources.site

for different kinds of informations.

Colors.pics is your best friend for documenting your color schemes

Published at
10/24/2023
Categories
colorscheme
ricing
github
readme
Author
matsuuu
Categories
4 categories in total
colorscheme
open
ricing
open
github
open
readme
open
Author
7 person written this
matsuuu
open
Colors.pics is your best friend for documenting your color schemes

I was updating some of the configurations in my colorscheme PinkMare, when I got extremely annoyed by the fact that I only had the hex colors of my theme in text format. Having to refer to a documentation in this form without actually seeing the colors cuased a lot of annoyance as remembering the whole palette was practically impossible.

let s:palette = {
      \ 'bg0':        ['#202330',   '235',  'Black'],
      \ 'bg1':        ['#472541',   '236',  'DarkGrey'],
      \ 'bg2':        ['#472541',   '237',  'DarkGrey'],
      \ 'bg3':        ['#472541',   '238',  'DarkGrey'],
      \ 'bg4':        ['#2d2f42',   '239',  'Grey'],
      \ 'bg_red':     ['#f2448b',   '52',   'DarkRed'],
      \ 'bg_green':   ['#333b2f',   '22',   'DarkGreen'],
      \ 'bg_blue':    ['#203a41',   '17',   'DarkBlue'],
      \ 'fg':         ['#FAE8B6',   '223',  'White'],
      \ 'red':        ['#FF38A2',   '167',  'Red'],
      \ 'orange':     ['#ffb347',   '208',  'Red'],
      \ 'yellow':     ['#ffc85b',   '214',  'Yellow'],
      \ 'green':      ['#9cd162',   '108',  'Green'],
      \ 'cyan':       ['#87c095',   '108',  'Cyan'],
      \ 'blue':       ['#eba4ac',   '109',  'Blue'],
      \ 'purple':     ['#d9bcef',   '175',  'Magenta'],
      \ 'grey':       ['#444444',   '245',  'LightGrey'],
      \ 'light_grey': ['#6D7A72',   '245',  'LightGrey'],
      \ 'gold':       ['#fff0f5',   '214',  'Yellow'],
      \ 'none':       ['NONE',      'NONE', 'NONE']
      \ }
Enter fullscreen mode Exit fullscreen mode

I was sure there should be a better way at this.

Just use CSS?

I mean, yeah. If we were in HTML land, this would be the easiest thing ever to solve. But we're in GitHub README land here so having something like

<div style="width: 40px; height: 40px; background: #FF6D00"></div>
Enter fullscreen mode Exit fullscreen mode

Just isn't going to work.

Introducing colors.pics

Colors.pics is a Vercel hosted small nodejs server that provides a simple web API to get just the colors you want.

Just by appending

![d600ff](https://www.colors.pics/d600ff)
Enter fullscreen mode Exit fullscreen mode

to your markdown, you are able to create a colored square into your Markdown README.

Image description

Go wild

So yeah. Go wild. Add some color to your readme's and if you're a color scheme author, let the users know in advance what they're signing up for!

Links
readme Article's
30 articles in total
Favicon
WTF is a GitHub Profile README.md
Favicon
How to Write an Effective README File - A Guide for Software Engineers
Favicon
Lyzr-Automata powered README Generation
Favicon
πŸš€ Introducing README GPT πŸ€– : for Effortless README Generation! πŸš€
Favicon
Badges for Go Benchmark
Favicon
GitHub Repository README to DEV Community Post
Favicon
How to Write A 4000 Stars GitHub README for Your Project
Favicon
Can you have variables in a GitHub README file?πŸ€”
Favicon
How to write an Awesome README.md
Favicon
How to show diff in Markdown file
Favicon
πŸš€ Quick guide to set up and customize your GitHub profile README
Favicon
How to create a customized GitHub profile
Favicon
Markdwon 24
Favicon
Algorithms and data structure
Favicon
Colors.pics is your best friend for documenting your color schemes
Favicon
README update
Favicon
Cool readme on your github profile page with github actions.
Favicon
Don't waste time to write README, use readme-ai instead
Favicon
Level Up Your Readme File πŸ“ˆ
Favicon
How to create a beautiful README for your GitHub blogs
Favicon
Γ‰crire un fichier README.md
Favicon
Mastering Readme Files
Favicon
Make images responsive to light/dark mode on GitHub
Favicon
QUESTION: How many icons can be shown on your Github bio?
Favicon
Expose Your Currently Listening Song on Your Profile with Last.fm Profile Readme
Favicon
Make GitHub Readme Like Pro
Favicon
Your almost awesome GitHub profile
Favicon
Fetching YouTube videos to your GitHub README with GitHub Actions
Favicon
Runnable Tutorial Straight From Your Blog Post
Favicon
Why you should create a GitHub profile README (as a job seeking dev)

Featured ones: