24-bit color and 32-bit color contrast

Source: Internet
Author: User

1.24-bit color and 32-bit color contrast

rgb:24 bit color, (R,G,B) 3 x 16 binary numberargb:32 bit color, (A,R,G,B) 4 x 16 binary numberA value: opacityR value: Red scaleg value: Green ratiob Value: Blue scale32-bit code is best used in ps:android development How to make the control background transparent in 2.Android developmentandroid:background= "#01000000" #01000000 "01" refers to the degree of transparency of the background, this value can only set 01 and above the value, cannot be set to 00, and cannot be set to full transparency, but set to 01 in fact and transparent effect is also very close, the naked eye almost can not see the difference. This method also has no effect on other controls.

24-bit color and 32-bit color contrast

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.