Skip to content

issues Search Results · repo:ubernostrum/webcolors language:Python

Filter by

14 results
 (123 ms)

14 results

inubernostrum/webcolors (press backspace or delete to remove)

tikzplotlib uses the color mapping to compute closest matching color names: def _get_closest_colour_name(rgb): match = None mindiff = 1.0e15 for h, name in webcolors.CSS3_HEX_TO_NAMES.items(): ...
  • JasonGross
  • 7
  • Opened 
    on Jul 15, 2024
  • #20

While the project seems to use type annotations internally, type checkers will ignore them because the py.typed marker file is missing. Note that adding the file will not be enough, since you will also ...
  • Daverball
  • 1
  • Opened 
    on Aug 17, 2023
  • #19

rebeccapurple (#663399) is a named color added in CSS Color Module Level 4 to honor web pioneer Eric Meyer. Although Level 4 is not a formal W3C Recommendation rebeccapurple is not in the SVG 1.1 spec, ...
  • Dianliang233
  • 1
  • Opened 
    on Feb 18, 2023
  • #18

Love the library and use it regularly for my projects! It would be cool if there was the conversion to and from RGBA. A in RGBA stands for Alpha and basically represents the opacity for each pixel (in ...
  • veljanin
  • 1
  • Opened 
    on Sep 1, 2022
  • #16

While webcolors has typing annotations in the code (which is amazing!), unfortunately those annotation can t be used by mypy to actually check the code against those annotations. $ cat test.py import ...
  • jolaf
  • 2
  • Opened 
    on Feb 28, 2021
  • #14

I would like to know how many colors does webcolors provide? Thanks in advance
  • morawi
  • Opened 
    on Jul 13, 2020
  • #12

Hi there! And thanks for this useful library! I m using this with pycollada, which wants RGB values as arrays of three floats from 0.0 to 1.0. Would you be interested in a pull request to a function ...
  • paulmelnikow
  • 3
  • Opened 
    on Jun 22, 2020
  • #11

Hi, I ve recently used this module to get the name of an RGB color, but was only interested in getting generic names (like the group names from here). I needed to write a dictionary for converting from ...
  • anacosmina
  • 1
  • Opened 
    on May 20, 2020
  • #9

I read through the documentation but couldn t find any function which simply allows throwing in any css color attribute and getting back RGB information. styles = { color : hotpink , background-color ...
  • luckydonald
  • 2
  • Opened 
    on May 1, 2020
  • #8
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Press the
/
key to activate the search input again and adjust your query.
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Press the
/
key to activate the search input again and adjust your query.
Issue search results · GitHub