Skip to content

Commit 19a5456

Browse files
JJC1138Qix-
authored andcommitted
Add additional RGB examples to README
1 parent d8174e8 commit 19a5456

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@ colorString.get('hwb(60, 3%, 60%)') // {model: 'hwb', value: [60, 3
2727
colorString.get.rgb('#FFF') // [255, 255, 255, 1]
2828
colorString.get.rgb('blue') // [0, 0, 255, 1]
2929
colorString.get.rgb('rgba(200, 60, 60, 0.3)') // [200, 60, 60, 0.3]
30+
colorString.get.rgb('rgba(200 60 60 / 0.3)') // [200, 60, 60, 0.3]
3031
colorString.get.rgb('rgb(200, 200, 200)') // [200, 200, 200, 1]
32+
colorString.get.rgb('rgb(200 200 200)') // [200, 200, 200, 1]
3133

3234
colorString.get.hsl('hsl(360, 100%, 50%)') // [0, 100, 50, 1]
3335
colorString.get.hsl('hsl(360 100% 50%)') // [0, 100, 50, 1]

0 commit comments

Comments
 (0)