first commit
This commit is contained in:
commit
89c3ddb84b
14 changed files with 1886 additions and 0 deletions
30
colour_names.js
Normal file
30
colour_names.js
Normal file
|
@ -0,0 +1,30 @@
|
|||
// colour names drawn from https://simple.wikipedia.org/wiki/Colour
|
||||
|
||||
const colours = `
|
||||
red: #FE2712: 1
|
||||
orange: #FF7F00: 1
|
||||
yellow: #FEFE33: 1
|
||||
green: #008000: 1
|
||||
blue: #0247FE: 1
|
||||
cyan: #00ffff: 2
|
||||
purple: #A020F0: 2
|
||||
white: #ffffff: 1
|
||||
black: #000000: 1
|
||||
brown: #964B00: 2
|
||||
magenta: #ff00ff: 2
|
||||
tan: #D2B48C: 3
|
||||
olive: #808000: 3
|
||||
maroon: #800000: 3
|
||||
navy: #000080: 3
|
||||
aquamarine: #7FFFD4: 4
|
||||
turquoise: #40e0d0: 4
|
||||
silver: #C0C0C0: 4
|
||||
lime: #BFFF00: 4
|
||||
teal: #008080: 4
|
||||
indigo: #4b0082: 4
|
||||
violet: #8601AF: 2
|
||||
pink: #FF69B4: 1
|
||||
grey: #808080: 2
|
||||
`.trim().split('\n').map(l=>{const [name, hex, weight] = l.split(': '); return {name, hex, weight: parseFloat(weight)}});
|
||||
|
||||
export default colours;
|
Loading…
Add table
Add a link
Reference in a new issue