You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Most RGB color functions are not interpreted correctly #2300
From what I can tell, the specification for rgb() and rgba() allows for variations including the use of whitespace, commas, forward slash separators, percentages, and decimals, but the color parsing here seems to only allow for only a few specific formats. This issue creates an inconsistency where transparency is rendered as opaque compared to a browser environment.
Steps to Reproduce
Compare the results of running the following snippet in a browser and in Node.js with canvas:
Activity
zbjornson commentedon Jun 23, 2024
Fixed in #2384, will be in the next 3.0.0-rc and final v3.0.0.