Is it possible to set transparency in gradient which is set in the XML file?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Say you have a gradient with 2 colors:
StartColor#111111EndColor#333333Adding transparency is as simple as adding 2 HEX digits to the beginning of each color
SO:
If you want the
StartColor(for example) to be 100% opaque:If you want the
EndColor(for example) to be 100% transparent:You can of course use values between 00 and FF for transparency if you don’t want the extreme values.
The values between HEX 00 and FF are values between 0 and 255 in normal numbers:
To transform from [0,255] to [00,FF]:
There are options like : Dec, Hex, Oct …
Choose Dec and type the number between 0 and 255