10729
css - Finding "equivalent" color with opacity - Stack Overflow
Color blending is just a linear interpolation per channel, right? So the math is pretty simple. If you have RGBA1 over RGB2, the effective visual result RGB3 will be:

r3 = r2 + (r1-r2)*a1
g3 = g2 + (g1-g2)*a1
b3 = b2 + (b1-b2)*a1
…where the alpha channel is from 0.0 to 1.0.

Sanity check: if the alpha is 0, is RGB3 the same as RGB2? Yes. If the alpha is 1, is RGB3 the same as RGB1? Yes.
yesterday
sketch app - How to calculate the RGB color values with a given alpha value for mixing with another color to achieve a target color? - Graphic Design Stack Exchange
0

Calculate separately for r, g and b (decimal 0....255) the following formula

X=(T-(1-A)*B)/A

X=the new rgb number, T=target rgb number, B=background rgb number, A=alpha (0...1, 0=fully transparent)

If you get negative number or greater than 255, the goal was impossible.
yesterday
Twitter
That sounds like a Buzzfeed branding problem
from twitter_favs
4 days ago
Twitter
Without radical changes, the loss of nearly all coral reefs is now inevitable.

But the changes to the world’s ocea…
from twitter_favs
4 days ago
Twitter
What a great way to start the morning talking about the legacy of Dr. Martin Luther King w/ Pastor Harvey Drake of…
from twitter_favs
4 days ago
Twitter
Did you use a library in 2018?

(I’m at a talk where it’s being said that more people access and use services at l…
from twitter_favs
5 days ago
Twitter
So proud of for using her platform to empower and inspire!
from twitter_favs
5 days ago
Twitter
UCLA gymnast reads powerful poem she wrote called "Self-Hatred Goodbyes" on : "Because I am my…
from twitter_favs
5 days ago
Text-Only NPR.org
!! I wonder how many text-only websites exist...
from twitter
6 days ago
Twitter
My favorite thing about Design Twitter is when a new logo is released and everybody has to tweet their hot takes ab…
from twitter_favs
6 days ago
Twitter
New Slack logo? (In this week’s New Yorker)
from twitter_favs
7 days ago
Untitled (https://linky.now.sh/2SUqxPa)
Wow, I learned so much about react in this article. RT for reach!
from twitter_favs
7 days ago
Twitter
Just had the most 2019 moment: wanted to draw a pretty pink flower for a comic, and then spent 30 mins googling in…
from twitter_favs
7 days ago
Twitter
Thanks for tuning in! Next week: same time, same place.

~now it's back to work~
from twitter_favs
7 days ago
Twitter
9 This animation art for Disney's Hunchback of Notre Dame (1996)
from twitter_favs
7 days ago
Twitter
1 This reddit forum of computer crashes on public interfaces
h/t
from twitter_favs
7 days ago
Public Blue Screens of Death
1 This reddit forum of computer crashes on public interfaces
h/t
from twitter_favs
7 days ago
Twitter
~Alright y'all. It's 11 am EST on a Tuesday. The timeline's about to get more wild. My Design Twitter Round Up star…
from twitter_favs
7 days ago
Twitter
Being an adult is just moving piles of things into other piles until eventually you don’t have any more piles and t…
from twitter_favs
7 days ago
Twitter
I have yet to see a bunch of mid 20s creatives posting their 10 year side by sides...

WHERE ARE YOU. SHOW YOUR FOR…
from twitter_favs
8 days ago
Twitter
All my tech followers who watch Drag Race, please stand up!! 🙌🏻✨
from twitter_favs
8 days ago
Twitter
I’ve spent the last few days exploring, eating, drinking mezcal, eating, sightseeing, and eating around Mexico City…
from twitter_favs
8 days ago
Twitter
had a dream that I was getting people to save snowballs in their freezer for a later season & this was going to be…
from twitter_favs
9 days ago
Twitter
my goodness, this thread. it’s obviously art, but i feel the need to say “this is art.” wow.
from twitter_favs
9 days ago
Twitter
OK spring semester starts tomorrow and I just want to remind you that you don’t just get to sit back and hope the k…
from twitter_favs
9 days ago
Twitter
A 🔟 isn't enough for this floor routine by . 🔥
from twitter_favs
10 days ago
Twitter
Week 3 of climbing up some rocks with / / - Stoked to attempt Brown’s…
from twitter_favs
10 days ago
Twitter
So after a fun freak accident last night it seems I will be laid up for the next 6 weeks or so. Please send along a…
from twitter_favs
10 days ago
Twitter
We’re back lil chili babies! Tune in tonight 9:30
from twitter_favs
12 days ago
Twitter
In honor of the 20th anniversary of The Sopranos, I’m handing out Soprano nicknames today. Who wants one? FYI if yo…
from twitter_favs
12 days ago
Twitter
I drew some Janets cause THE GOOD PLACE IS BACK THIS WEEK!! 🎉
from twitter_favs
14 days ago
Twitter
I just crossed 100k followers! Even though it’s just a number, I feel it’s a nice reflection of all these years of…
from twitter_favs
19 days ago
Twitter
Not sure this is the intended solution, but it worked!
from twitter_favs
20 days ago
Twitter
Story time. So my daughter is a fantastic artist. When I really need to zone out, hard, and knit…
from twitter_favs
20 days ago
Twitter
finally, i will leave you with an alexandrite that can be yours if you have $77,000 for it.
from twitter_favs
20 days ago
Twitter
bc natural alexandrite is SUPER rare, it's hard to find in retail stores. you have to find a gem specialist that ha…
from twitter_favs
20 days ago
Twitter
anyway, alexandrite is dope and doesn't get enough shine (last pun). if you have one that is certified to be natura…
from twitter_favs
20 days ago
1.99 Carat Emerald Alexandrite
finally, i will leave you with an alexandrite that can be yours if you have $77,000 for it.
from twitter_favs
20 days ago
Twitter
so why don't we hear about alexandrite? because alexandrite has no marketing machine behind it. no celebrity endors…
from twitter_favs
20 days ago
Twitter
but wait, why is it behind diamonds when diamonds don't do anything cool like turn different colors? because false…
from twitter_favs
20 days ago
Twitter
you all knew that though, because you haven't been living under a rock (heh) and have seen all the many articles ab…
from twitter_favs
20 days ago
Twitter
right so alexandrite is gorgeous, it does tricks, and it's rare af. how much does it cost? turns out, a lot. 😬 in…
from twitter_favs
20 days ago
Twitter
so now you know about alexandrite, without your fave celeb telling you about it and you need it (it me). how do you…
from twitter_favs
20 days ago
Twitter
speaking of rareness, fine (not lab-created) alexandrite is the 2nd most rare gem in the world according to…
from twitter_favs
20 days ago
Twitter
2019.. but make it gay 🌟
from twitter_favs
20 days ago
Twitter
I can’t promise I’ll keep this up but here’s to staying weird. Happy New Year 🤪🎉
from twitter_favs
20 days ago
Twitter
Attempted to take my kid to Mary Poppins today...

There was a preview for Toy Story 4, so it pretty much went “I D…
from twitter_favs
21 days ago
Twitter
I’ve been on paternity leave since the start of October. Tomorrow will be my first day back to work. I’m sure the s…
from twitter_favs
21 days ago
Twitter
Thanks for tuning in! Next week: same time, same place.

~It's been a pleasure to join you over the past year, my f…
from twitter_favs
21 days ago
Design Twitter Round Up
That's it for now! If you'd like to have my Round Up sent straight to your inbox every Tuesday, sign up here:
from twitter_favs
21 days ago
« earlier      
3d accessibility adobe advertising advice aftereffects allergy amazing amherst animals animation api apple architecture art article artist audio awesome baking beautiful beauty blog body books boston buddhism business camera chinese clothing code coding college color comics community cooking crafts creativity crochet css culture cute daily decor design desktop development download education email entertainment environment events face fashion film flash flickr font fonts food form free freelance friend fun furniture future gallery games gender geometry git graduate graphicdesign graphics grid health help history home howto html html5 humor icons illustration illustrator images informationgraphics informative inspiration interesting internet internship interview ios ipod javascript language layout learning literature logos love mac magazine makeup map mass math media:image mobile money motion motiongraphics mounting movie music nasad nature news northampton npr ny office oregon organize osx paint performance personal philosophy photography photos photoshop plugin politics portfolio portland posters printing prints programming psychology radio reading recipe recommendation reference research resources responsive retina review sa sass school schoolwork science scroll seattle security shirts shoes shopping social software statistics stock storage string student studio technology terminal todo toread travel tutorial tv type typeface typefaces typography u:topfunky ui umass ux video vintage visualization wallpaper web webdesign website wishlist women wordpress work world writing

Copy this bookmark:



description:


tags: