Skip to content

Generate JSON/SVGs and store custom macOS ~/Library/Colors/*.clr files 

Notifications You must be signed in to change notification settings

mossr/macOS-colors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

macOS .clr files

Store custom macOS ~/Library/Colors/*.clr files used in System Color Picker.

To create your own, fork this repo and run:

./update.sh

Convert .clr files to .json

Convert your custom .clr files to .json format.

Usage

Usage:
  clr2json <input.clr> <output.json>   Convert a single .clr file to JSON.
  clr2json                             Convert all .clr files in ~/Library/Colors to a single JSON file named 'palettes.json' in the current directory.
  clr2json -h, --help                  Display this help message.

To build the clr2json executable, run:

swiftc clr2json.swift -o clr2json

Palettes

This README.md file and the .svg palette files were generated using

julia readme.jl palettes.json

with the .json generated from clr2json (but all you have to do is run ./update.sh)

Apple Logo

Army Green

Baby

Balancing Act

Black Red Gray

Cobalt

Dawn

Emerald

Green Black

Highway DOT

Julia

LaTeX

MIT

MIT Lincoln Laboratory

MIT Sloan

Moss

Reachability

Relaxed Elegance

Seafoam Green

Show Star

Stanford

Stanford Blacks

Stanford Web

Sun

Tufte

Viridis 25

Viridis 6

Viridis Clamped

Walter Mitty

Wellspring

Wentworth

About

Generate JSON/SVGs and store custom macOS ~/Library/Colors/*.clr files 

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published