Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
Oliver Sewell
16,425 PointsCSS Color .. rgba() or hsla() which do you use?
Just wondering which you guys use ?
2 Answers
Joel Pendleton
19,230 PointsOliver Sewell
16,425 Pointsyou cant change opacity on hex though ? unless rgba?
Joel Pendleton
19,230 PointsYeah I just use a combination of Hex and RBGa in my work. I use them when suitable but mostly I use Hex. Use whatever you're comfortable using.
Oliver Sewell
16,425 PointsOliver Sewell
16,425 Pointsthankyou seems like hsla is the way to go !
Joel Pendleton
19,230 PointsJoel Pendleton
19,230 PointsPersonally, I prefer hex because that is I become accustomed to. However, HSLa seems the way to go. You should check this out as well: http://joshnh.com/weblog/hsla-are-you-using-it-here-is-why-i-think-you-should-be/