Skip to content

Commit

Permalink
Add 8-digit hexadecimal code to color codes
Browse files Browse the repository at this point in the history
  • Loading branch information
Mohsen Karami committed Apr 8, 2020
1 parent bd50f2d commit 6ad7ac3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,16 @@ npm run dev

var colors = {
hex: '#194d33',
hex8: '#194D33A8',
hsl: { h: 150, s: 0.5, l: 0.2, a: 1 },
hsv: { h: 150, s: 0.66, v: 0.30, a: 1 },
rgba: { r: 25, g: 77, b: 51, a: 1 },
a: 1
}
// or
var colors = '#194d33'
// or
var colors = '#194D33A8'
// or
var colors = { h: 150, s: 0.66, v: 0.30 }
// or
Expand Down

0 comments on commit 6ad7ac3

Please sign in to comment.