Skip to content

Commit d05a353

Browse files
committed
update readme
1 parent 5dbf9f1 commit d05a353

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ A JSON with color names and its values. Based on http://dev.w3.org/csswg/css-col
44

55

66
```js
7-
var colors = require('color-name');
7+
import colors from 'color-name';
88
colors.red //[255,0,0]
99
```
1010

0 commit comments

Comments
 (0)