add example code to top four models
This commit is contained in:
parent
4fe7e8399a
commit
db102270df
1 changed files with 4 additions and 4 deletions
|
|
@ -210,10 +210,10 @@ Background versions of these models are prefixed with `bg` and the first level o
|
|||
|
||||
As of this writing, these are the supported color models that are exposed in Chalk:
|
||||
|
||||
- `rgb`
|
||||
- `hex`
|
||||
- `keyword` (CSS keywords)
|
||||
- `hsl`
|
||||
- `rgb` - e.g. `chalk.rgb(255, 136, 0).bold('Orange!')`
|
||||
- `hex` - e.g. `chalk.hex('#ff8800').bold('Orange!')`
|
||||
- `keyword` (CSS keywords) - e.g. `chalk.keyword('orange').bold('Orange!')`
|
||||
- `hsl` - e.g. `chalk.hsl(32, 100, 50).bold('Orange!')`
|
||||
- `hsv`
|
||||
- `hwb`
|
||||
- `cmyk`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue