Xterm256-colors

Latest version: v0.1.4

Safety actively analyzes 681857 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.1.4

Fixed
- Fix red/green color components returning incorrect values (this led to `hsv`, `is_greyscale`, `perceived_brightness`, and all other derivative properties being incorrect...)
- Resolve `NameError` in `as_srgb_color` and `as_lab_color` when colormath _was_ installed

0.1.3

Fixed
- Resolve `ImportError` when colormath not installed

0.1.2

Changed
- Improve display of background color swatches

Fixed
- Resolve incorrect typing for color members on Fore256/Back256

0.1.1

Changed
- Include license and changelog in source distribution

0.1.0

Added
- Added `Fore256` and `Back256` classes for controlling foreground/background color
- Added utilities for printing colours in various formats
- Added utilities for automatically finding differentiated colours

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.