Skip to content

Commit 2daac6f

Browse files
committed
Cleans up fluff
1 parent ff971fa commit 2daac6f

File tree

4 files changed

+1
-78
lines changed

4 files changed

+1
-78
lines changed

README.md

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -88,33 +88,3 @@ randomColor({
8888

8989
```
9090

91-
## To do
92-
93-
*More generally, it might be a good idea to consider using other color models.*
94-
95-
1. Use this on the demo
96-
http://jsfiddle.net/dpLp318f/
97-
https://www.vis4.net/blog/posts/avoid-equidistant-hsv-colors/
98-
https://www.vis4.net/blog/posts/mastering-multi-hued-color-scales/
99-
2. When returning an array of multiple colors, try to make each color as distinct as possible. Make sure each color is distinct to its neighbours.
100-
3. Improve attractive dark color generation, currently they're a touch murky.
101-
4. Improve the color dictionary
102-
- definition of hue values and attractive luminosity bounds
103-
- think about how to store hue aliases (e.g. fuschia) or subranges (e.g teal)
104-
- think about making a little point and click tool for defining your own luminosity bounds and customizing the color dictionary
105-
5. Think about how to return seeds.
106-
6. Think about adding feature to return complementary & contrasting colors, as well as color triads, tetrads etc. Other libraries might already do this better though.
107-
7. Think about adding a scheme options which would return a dominant color, as well as secondary, tertiary color and primary and secondary text colors. This might be a bad idea.
108-
8. Add a nice visualization of the 'attractive color space' to the demo https://www.youtube.com/watch?v=x0-qoXOCOow
109-
9. Add a feature to return random colors close to a provided hex
110-
111-
## In use
112-
113-
* [The Daily Show](http://maketrumptweetseightagain.com/) used it to make an extension which [converts Trump's tweets into a child's scribble](https://twitter.com/riseuphes/status/929579600354693120).
114-
* [Initial.js](https://github.com/judesfernando/initial.js) used it to generate Gmail-style avatars.
115-
* [ng2-Logger](https://github.com/darekf77/ng2-logger) used it to make logs a little more colorful.
116-
* [vue-randomcolor](https://github.com/alebeck/vue-randomcolor) adds attractive random colors to Vue.js.
117-
* [sudoku-solver.ch](https://www.sudoku-solver.ch/) uses it for coloring constraints on the puzzle
118-
* [farbvelo.elastiq.ch](https://farbvelo.elastiq.ch/) uses it to generate color harmonies.
119-
120-
Did you use randomColor.js for something? [Tell me about it](https://lllllllllllllllll.com).
File renamed without changes.

package.json

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
"type": "git",
88
"url": "git://github.com/davidmerfield/randomColor.git"
99
},
10-
"files": [],
1110
"keywords": [
1211
"attractive",
1312
"random",
@@ -16,13 +15,5 @@
1615
],
1716
"author": "David Merfield",
1817
"license": "CC0",
19-
"bugs": {
20-
"url": "https://github.com/davidmerfield/randomColor/issues"
21-
},
22-
"homepage": "https://randomcolor.lllllllllllllllll.com/",
23-
"spm": {
24-
"main": "randomColor.js"
25-
},
26-
"devDependencies": {},
27-
"dependencies": {}
18+
"homepage": "https://randomcolor.lllllllllllllllll.com/"
2819
}

randomColor.d.ts

Lines changed: 0 additions & 38 deletions
This file was deleted.

0 commit comments

Comments
 (0)