BSD Ports

graphics/py-webcolors 24.8.0 DragonFly

Library working with the sRGB color space as used in the HTML and CSS

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
BSD3CLAUSE
Categories
graphics, python
Package size
22.4 KiB, 136.4 KiB installed

Description

webcolors is a module for working with HTML/CSS color definitions.

Support is included for normalizing and converting between the following formats (RGB colorspace only; conversion to/from HSL can be handled by the colorsys module in the Python standard library):

* Specification-defined color names * Six-digit hexadecimal * Three-digit hexadecimal * Integer rgb() triplet * Percentage rgb() triplet

In the other systems

SystemPortVersion
DragonFlygraphics/py-webcolors24.8.0
FreeBSDgraphics/py-webcolors24.8.0
NetBSDwww/py-webcolors25.10.0
MidnightBSDgraphics/py-webcolors24.8.0_1
HardenedBSDgraphics/py-webcolors24.8.0
GhostBSDgraphics/py-webcolors24.8.0

Install

Binary package:

pkg install py311-webcolors

From DPorts:

cd /usr/dports/graphics/py-webcolors && make install clean

Dependencies

Run dependencies 1