Skip to content

Commit fe9af24

Browse files
committed
Update README.md
1 parent ae5af5e commit fe9af24

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,13 @@ See the results on [the demo](http://www.strangeplanet.fr/work/RandomColor.php).
1414

1515
You can pass an options object to influence the type of color it produces. The options object accepts the following properties:
1616

17-
**Hue** – Controls the hue of the generated color. You can pass a string representing a color name (e.g. 'orange'). Possible color names are *red, orange, yellow, green, blue, purple, pink and monochrome*.
17+
**hue** – Controls the hue of the generated color. You can pass a string representing a color name (e.g. 'orange'). Possible color names are *red, orange, yellow, green, blue, purple, pink and monochrome*.
1818

19-
**Luminosity** – Controls the luminosity of the generated color. You can pass a string containing *bright, light or dark*.
19+
**luminosity** – Controls the luminosity of the generated color. You can pass a string containing *bright, light or dark*.
2020

21-
**Format** – A string which specifies the format of the generated color. Possible values are *hsv, hsl, hslCss, rgb, rgbCss, and hex*.
21+
**format** – A string which specifies the format of the generated color. Possible values are *hsv, hsl, hslCss, rgb, rgbCss, and hex*.
22+
23+
**prng** – A random (or not) number generator. `mt_rand` is used as default one.
2224

2325
### Examples
2426

0 commit comments

Comments
 (0)