Webcolors

Latest version: v24.11.1

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

Scan your dependencies

Page 2 of 4

1.11.1

~~~~~~~~~~~~~~

Released February 2020

* Corrected an error regarding supported Python versions in the README file.

1.11

~~~~~~~~~~~~

Released February 2020

* Python 2 has reached the end of its support cycle from the Python core team;
accordingly, Python 2 support is dropped. Supported Python versions are now
3.5, 3.6, 3.7, and 3.8.

1.10

~~~~~~~~~~~~

Released September 2019

* Similar to the change in version 1.9 which normalized conversions to named
colors for ``gray``/``grey`` to always use the ``gray`` variant, the other
named grays of CSS3 now normalize to the ``gray`` spelling. This affects the
following colors: ``darkgray``/``darkgrey``,
``darkslategray``/``darkslategrey``, ``dimgray``/``dimgrey``,
``lightgray``/``lightgrey``, ``lightslategray``/``lightslategrey``,
``slategray``/``slategrey``.

1.9.1

~~~~~~~~~~~~~

Released June 2019

* The ``__version__`` attribute of the installed ``webcolors`` module, although
not documented or referenced anywhere, was accidentally not updated in the
1.9 release. It has now been updated (and now indicates 1.9.1).

1.9

~~~~~~~~~~~

Released June 2019

* Added :ref:`a set of constants to use when referring to specifications that
define color names <spec-constants>`.

* When asked to provide a color name, using the CSS3/SVG set of names, for the
hexadecimal value ``808080``, the integer triplet ``rgb(128, 128, 128)``, or
the percentage triplet ``rgb(50%, 50%, 50%)``, ``webcolors`` now always returns
``u'gray'``, never ``u'grey'``. Previously, the behavior could be
inconsistent as it depended on the Python version in use; ``u'gray'`` was
picked because it was the spelling variant used in HTML 4, CSS1, and CSS2.

1.8.1

~~~~~~~~~~~~~

Released February 2018

* The 1.8.1 release is a repackaging of 1.8 to produce both source (.tar.gz)
and binary (.whl) package formats, following reports that the
source-package-only release of 1.8 was causing installation issues for some
users. See `issue 6 in the repository
<https://github.com/ubernostrum/webcolors/issues/6>`_ for details.

Page 2 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.