Skip to content

Commit

Permalink
add additional RGB examples to README
Browse files Browse the repository at this point in the history
  • Loading branch information
JJC1138 authored and Qix- committed Nov 26, 2021
1 parent d210d8a commit eb7ac56
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ colorString.get('hwb(60, 3%, 60%)') // {model: 'hwb', value: [60, 3
colorString.get.rgb('#FFF') // [255, 255, 255, 1]
colorString.get.rgb('blue') // [0, 0, 255, 1]
colorString.get.rgb('rgba(200, 60, 60, 0.3)') // [200, 60, 60, 0.3]
colorString.get.rgb('rgba(200 60 60 / 0.3)') // [200, 60, 60, 0.3]
colorString.get.rgb('rgb(200, 200, 200)') // [200, 200, 200, 1]
colorString.get.rgb('rgb(200 200 200)') // [200, 200, 200, 1]

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

0 comments on commit eb7ac56

Please sign in to comment.