yarn ansi-styles 3.0.0

latest releases: 6.1.0, 6.0.0, 5.2.0...
7 years ago

This major release includes 256 and 16 million color codes via the color-convert module.
See all possible conversions.

This module now requires Node.js 4 or higher.

Breaking changes

- ansiStyles.colors
+ ansiStyles.color

- ansiStyles.bgColors
+ ansiStyles.bgColor

- ansiStyles.modifiers
+ ansiStyles.modifier

New features

# 16 color codes
+ ansiStyles.color.ansi.rgb(r, g, b)
+ ansiStyles.color.ansi.hsl(h, s, l)
+ ansiStyles.color.ansi.hex('#ABCDEF')

# 256 color codes
+ ansiStyles.color.ansi256.rgb(r, g, b)
+ ansiStyles.color.ansi256.hsl(h, s, l)
+ ansiStyles.color.ansi256.hex('#ABCDEF')

# 16 million (RGB) color codes
+ ansiStyles.color.ansi16m.rgb(r, g, b)
+ ansiStyles.color.ansi16m.hsl(h, s, l)
+ ansiStyles.color.ansi16m.hex('#ABCDEF')

Changes

v2.2.1...v3.0.0

Don't miss a new ansi-styles release

NewReleases is sending notifications on new releases.