Colorlover is a Python library providing a collection of qualitative, sequential, and diverging color scales, originally designed for use with IPython notebooks. It offers utilities for converting between RGB and HSL color formats, generating numeric representations, and outputting scales as HTML. The library's current version is 0.3.0, released in January 2019, and it appears to be in a maintenance state with no recent active development.
pip install colorloverVerified import paths — ran on the pinned version, not inferred.
This quickstart demonstrates how to import `colorlover`, access a predefined color scale, and convert it between different color representations (RGB string, numeric RGB, HSL string).
Consider its static nature when integrating into new projects. For actively maintained and more comprehensive color handling, explore alternatives like `matplotlib.colors`, `seaborn` palettes, or `colormath`.
Functionality remains largely compatible with modern Jupyter environments, but the terminology reflects the library's older development period.
Ensure you are using the correct library for your needs. If you require programmatic access to the `COLOURlovers.com` database, `python-colourlovers` (if still maintained) or direct API calls are necessary. For pre-defined color scales, `colorlover` is appropriate.
Ensure the package is installed in your active environment: `pip install colorlover`.
The `colorlover` library provides color scales through `cl.scales` directly, e.g., `cl.scales['3']['div']['RdYlBu']`. It does not make API calls. If you need to interact with the COLOURlovers API, you need a different library or custom API calls.
No dependency data recorded yet.