Title: [BUG]: `scattergl` renders `line.color`, `fillcolor`, `error_x.color`, `error_y.color`, and `textfont.color` incorrectly with modern CSS color spaces · Issue #8116 · plotly/plotly.js · GitHub
Open Graph Title: [BUG]: `scattergl` renders `line.color`, `fillcolor`, `error_x.color`, `error_y.color`, and `textfont.color` incorrectly with modern CSS color spaces · Issue #8116 · plotly/plotly.js
X Title: [BUG]: `scattergl` renders `line.color`, `fillcolor`, `error_x.color`, `error_y.color`, and `textfont.color` incorrectly with modern CSS color spaces · Issue #8116 · plotly/plotly.js
Description: Description Several scattergl color attributes render incorrectly when using modern CSS color formats such as oklch(). The same colors render correctly with the SVG scatter trace. Screenshots It is evident that line.color, fillcolor, err...
Open Graph Description: Description Several scattergl color attributes render incorrectly when using modern CSS color formats such as oklch(). The same colors render correctly with the SVG scatter trace. Screenshots It is...
X Description: Description Several scattergl color attributes render incorrectly when using modern CSS color formats such as oklch(). The same colors render correctly with the SVG scatter trace. Screenshots It is...
Opengraph URL: https://github.com/plotly/plotly.js/issues/8116
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[BUG]: `scattergl` renders `line.color`, `fillcolor`, `error_x.color`, `error_y.color`, and `textfont.color` incorrectly with modern CSS color spaces","articleBody":"### Description\n\nSeveral `scattergl` color attributes render incorrectly when using modern CSS color formats such as `oklch()`.\n\nThe same colors render correctly with the SVG scatter trace.\n\n### Screenshots\n\n\u003cimg width=\"1833\" height=\"548\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/89a9d548-2ea6-40b7-962c-d81560219ff7\" />\n\n\nIt is evident that `line.color`, `fillcolor`, `error_x.color`, `error_y.color`, and `textfont.color` are rendered incorrectly for `scattergl`, compared to the correct `scatter` trace.\n\n### Codepen Example\nhttps://codepen.io/Lexachoc/pen/OPpQgVO\n\n### Note\nIf other traces also reuse `scattergl`'s color rendering logic, then they might all be affected! But I haven't checked that.\n","author":{"url":"https://github.com/Lexachoc","@type":"Person","name":"Lexachoc"},"datePublished":"2026-10-12T02:15:49Z","url":"https://github.com/plotly/plotly.js/issues/8116"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:331b8367-9a8e-ffad-18fc-3fbb7fb54db4 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A62E:6DC60:26163BB:3023249:6B01C124 |
| html-safe-nonce | ed447d817bad7f90fa86e78ff3eaf4b18defa9c4e8ad2db8da785a97441b071d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNjJFOjZEQzYwOjI2MTYzQkI6MzAyMzI0OTo2QjAxQzEyNCIsInZpc2l0b3JfaWQiOiI1NDUzNjE2MDk0MDQ2Njk5ODEyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | defe0927bc7245ce6a711a95fae1d6a7fa0cda275390a726b91f0461be3dda41 |
| hovercard-subject-tag | issue:5807404567 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/plotly/plotly.js/8116/issue_layout |
| twitter:image | https://opengraph.githubassets.com/14028503f9a8eb82215706c1926f8b5ae6d37d167f770d4091cbded4a9b1fa3c/plotly/plotly.js/issues/8116 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/14028503f9a8eb82215706c1926f8b5ae6d37d167f770d4091cbded4a9b1fa3c/plotly/plotly.js/issues/8116 |
| og:image:alt | Description Several scattergl color attributes render incorrectly when using modern CSS color formats such as oklch(). The same colors render correctly with the SVG scatter trace. Screenshots It is... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Lexachoc |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/plotly/plotly.js git https://github.com/plotly/plotly.js.git |
| octolytics-dimension-user_id | 5997976 |
| octolytics-dimension-user_login | plotly |
| octolytics-dimension-repository_id | 45646037 |
| octolytics-dimension-repository_nwo | plotly/plotly.js |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 45646037 |
| octolytics-dimension-repository_network_root_nwo | plotly/plotly.js |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width