rgba and gradient | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

rgba and gradient

I can't anything about rgba and gradient... Anyone can give any other link of tutorials for this topics?

25th Apr 2017, 2:54 PM
Prof. Alamin
Prof. Alamin - avatar
2 Answers
+ 7
'rgba' notation is the classic rgb one ( red, green, blue) composite color definition, adding a 4th parameter for opacity ( transparency -- 'a' stands for 'alpha channel ). While r, g and b are expected integer values between 0 and 255, alpha channel define opacity by a floating point number between 0 and 1 ( 0 transparent, 1 opaque, 0.5 semi transparent ). 'gradient' use different color stop values, defined by css colors units ( rgba, rgb, hewadecimal, hsl, and so on... )
25th Apr 2017, 3:46 PM
visph
visph - avatar