Skip to content

Instantly share code, notes, and snippets.

@Myndex
Forked from rjurney/colorPalette.js
Last active May 1, 2024 11:55
Show Gist options
  • Save Myndex/997244b95d84788df96f4aab8b9edeb1 to your computer and use it in GitHub Desktop.
Save Myndex/997244b95d84788df96f4aab8b9edeb1 to your computer and use it in GitHub Desktop.
Kelly's 22 Colors of Some Contrast (revised)
// An object of Kelly's 22 colors, converted from rjurney's array
// Color names are camelCase, and 'ish' was removed from all
// The two-name colors have an alternate name as well, such as:
// example: orangeYellow lightOrange manilla is "#e1a11a"
// As for "maximum contrast", I do not endorse that claim
// theory - https://eleanormaclure.files.wordpress.com/2011/03/colour-coding.pdf (page 5)
// kelly's colors - https://i.kinja-img.com/gawker-media/image/upload/1015680494325093012.JPG
// hex values - http://hackerspace.kinja.com/iscc-nbs-number-hex-r-g-b-263-f2f3f4-242-243-244-267-22-1665795040
const colorPalette = {
white: "#fdfdfd",
black: "#1d1d1d",
yellow: "#ebce2b",
purple: "#702c8c",
orange: "#db6917",
lightBlue: "#96cde6", aqua: "#96cde6",
red: "#ba1c30",
buff: "#c0bd7f",
grey: "#7f7e80", gray: "#7f7e80",
green: "#5fa641",
purplePink: "#d485b2", pink: "#d485b2",
blue: "#4277b6",
yellowPink: "#df8461", mediumOrange: "#df8461", lightBrown: "#df8461", papaya: "#df8461",
violet: "#463397", navyBlue: "#463397", navy: "#463397",
orangeYellow: "#e1a11a", lightOrange: "#e1a11a", manilla: "#e1a11a",
purpleRed: "#91218c", lightPurple: "#91218c", plum: "#91218c",
greenYellow: "#e8e948", lightYellow: "#e8e948", lemon: "#e8e948",
redBrown: "#7e1510", brown: "#7e1510",
yellowGreen: "#92ae31", mediumGreen: "#92ae31", lime: "#92ae31",
yellowBrown: "#6f340d", darkBrown: "#6f340d", dirt: "#6f340d",
redOrange: "#d32b1e", lightRed: "#d32b1e", crimson: "#d32b1e",
oliveGreen: "#2b3514", darkGreen: "#2b3514", olive: "#2b3514"
};
@Myndex
Copy link
Author

Myndex commented Jun 20, 2023

1*nlzuwRc_rXe-0TeSAyQsbg

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment