It's just that they're easier to read when described in hexadecimal as each pair of hexadecimal digits—one byte—represents a specific part of the colour. The first part defines all the individual colors, and the second part defines a array of color items, each item in this array is referencing a color defined in the first part. Read our Everything about colors in Android appendix to understand how to define colors. @pearmak No; the underlying numbers are neither intrinsically decimal or hexadecimal; they're stored in binary, of course. The hexadecimal RGB code of Android Green color is #A4C639 and the decimal is rgb(164,198,57). In this lesson we just focus on using colors, not defining them. HTML RGB pink color code. Pink Color Code. The Material Design color system supports alternative colors, which are colors used as alternatives to your brand’s primary and secondary colors (they constitute additional colors to your theme). List of color names and color code for Android The colors.xml below defines a list of colors as an Android color resource . Pink RGB color code; Pink color chart; … Alternative colors can be used to distinguish different sections of a UI. Step 1. AlarmClock; BlockedNumberContract; BlockedNumberContract.BlockedNumbers; Browser; CalendarContract; CalendarContract.Attendees; CalendarContract.CalendarAlerts Alternative colors are best for: Apps with light and dark themes The red-green-blue components are A4 (164) red, C6 (198) green and 39 (57) blue. Use the code #fff092b0 Use the code #fff092b0 Dont understand how treehouse want this code written change the background color of the whole RelativeLayout to a dark pink. Set a text color in XML and Java – android:textColor and setTextColor() All we have to do to set text color in XML is to add one more attribute called android:textColor to TextView tag.