Translucent settings such as the Android button

Source: Internet
Author: User

Format:

Android:background= "#XXxxxxxx" (colors can be written in color)

Description: The translucent color value differs from the usual color, the semitransparent color value is 8 bits, the first 2 bits is the transparency, the last 6 bits are the color.

In other words, transparency and color combine to write the transparency of various colors. The following is the transparency statement for your reference.

Not transparent 100% Ff
95% F2
80D E6
85% D9
80% Cc
75% BF
70% B3
65% A6
40g 99
55% 8C
Translucent 50% 80
45% 73
40% 66
35% 59
30% 4D
25% 40
20% 33
15% 26
10% 1 A
5% 0D
Fully Transparent 0% 00

Example:

Full transparency: #00000000

Translucent: #80000000

Opaque: #FF000000


White Translucent: #80FFFFFF

Red 30% Transparent: #4Dca0d0d

Translucent settings such as the Android button

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.