Transparent vis colors

Sarah Waterson · Friday Demos · May 24, 2024 · 3:09

New controls for transparency in visualization colors, offering big improvements especially vis-a-vis light and dark mode toggling

Try it yourselfThe full week on docsdashboardembedvisualizationworkbook

Transcript

This transcript is auto-generated. Names and product terms may be wrong.

  1. well I'll follow that I have some Color Fun uh I'm going to share a super little thing that uh Richard enabled uh I think actually last week but I just wanted to show some examples of what we can do for with it um you may notice in our color pictures we now have a way to do some transparency so one problem we have with our palettes we have a lot of things that we need to do there but one is that like when you're looking at these lovely gradients and you switch yourself over to dark mode like the light starts to pop and really you want to emphasize the dark you kind of want to go from like pink to a dark color same with

  2. you know if you're doing something this stack bars or something it kind of like changes the way you want to view it so um back to so can see that over switch over here um we now have ability to set some transparency which can help for some not all but some of the situations uh for light and dark mode so I've updated these palettes that actually go now to more transparent colors and so when we switch to dark mode they just look a little bit sexier they look a little bit more kind of how you want them to do with the colors where you can emphasize the high numbers with the bold and um that same here and some of these stack bars and you

  3. can kind of see some of the transparency there's some line coming through um and you can you'll see it so like if we go look in the workbook um I've got this this is like a some custom color palette so like if I go to edit the the color we now have this slider in here we have some we have a lot of work to do on some of this stuff but it's just a little bit that can start to help us get towards more interesting palettes uh more interesting use cases we'll be able to add them to like the table so if you really want transparent backgrounds on tables and things like that will be able to support some of that oh means the

  4. SE are going to start hacking transparent colors into crazy visualizations you're on mute sah oh sorry I'm trying to like remember to actually mute myself sometimes um there it yeah I'm be very interested to see what people do the the editor like the little transparency thing I think we have some ideas to like make that a little bit easier right now it uses um like the rgba syntax or not the rgba the hex syntax for transparency which is like figuring out what like 50 % is and hex is people are going to be like uh I have no idea but so like we have some improvements to make there um and again like there's tricky things with like tables because then you have to put

  5. text on top of stuff and so when you start changing like the background colors we're going to need to make text more accessible but like uh Jared's got some really clever ideas for us to start like layering in just some nice pieces there but trying to make some things look a little bit prettier it's still a lot of work to go do that but um adding some more knobs e