Skip to content

Commit e2ac9bb

Browse files
authored
Update README.md
1 parent bd737c7 commit e2ac9bb

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@ colorGradient.setGradient(color1, color2);
2424
```
2525
## Methods
2626

27-
### setGradient(color1, color2) - sets two or more hex color values. Should always be defined.
27+
#### setGradient(color1, color2) - sets two or more hex color values. Should always be defined.
2828

29-
### setMidpoint(n) - sets the number range from 0 to n. By default n is 10.
29+
#### setMidpoint(n) - sets the number range from 0 to n. By default n is 10.
3030

31-
### getArray() - returns an array of hex colors. Requires no parameters.
31+
#### getArray() - returns an array of hex colors. Requires no parameters.
3232

33-
### getColor(n) - returns certain hex color, where n is a requested number of midpoint colors.
33+
#### getColor(n) - returns certain hex color, where n is a requested number of midpoint colors.
3434

3535
```javascript
3636
console.log(colorGradient.getArray()) // outputs ["#4e4ab9", "#5d68c4", "#6d86ce", "#7ca4d9", "#8bc2e3"]
@@ -48,4 +48,4 @@ Pull requests are welcome. For major changes, please open an issue first to disc
4848
Please make sure to update tests as appropriate.
4949

5050
## License
51-
javascript-color-gradient is [MIT licensed.](https://github.com/Adrinlol/javascript-color-gradient/blob/master/LICENSE)
51+
javascript-color-gradient is [MIT licensed.](https://github.com/Adrinlol/javascript-color-gradient/blob/master/LICENSE)

0 commit comments

Comments
 (0)