Opacity with any ColorCode
Ex: Black color and white color with opacity code.
Below code for black:-
Black
color
[<color name="black">#000000</color>]
White color [<color name="white">#ffffff</color>]
Now if i want to use opacity than you can use below code :-
60% opacity with black color
<color name="black">#99000000</color>
50% opacity with white color
<color name="white">#80ffffff</color>
YOU CAN USE ANY COLOR WITH OPACITY CODE.
and below for opacity code:-
Hex Opacity Values
100% — FF
95% — F2
90% — E6
85% — D9
80% — CC
75% — BF
70% — B3
65% — A6
60% — 99
55% — 8C
50% — 80
45% — 73
40% — 66
35% — 59
30% — 4D
25% — 40
20% — 33
15% — 26
10% — 1A
5% — 0D
0% — 00
No comments:
Post a Comment