How to change Color

  1. Navigate to Colors.xml: Access the "colors.xml" file located in the "res/values" directory of your app's source code. You can find this directory within the "app/src/main" folder.

  2. Open Colors.xml: Open the "colors.xml" file using a text editor or IDE.

  3. Identify Color Resource: In the "colors.xml" file, locate the color resource that corresponds to the element you want to change. Each color resource is defined using a <color> tag.

  4. Modify Color Value: Edit the hexadecimal color value assigned to the color resource. You can replace the existing color code with the new color code of your choice. Ensure that the color code is preceded by a hash symbol (#) and is in the format "#RRGGBB" (for example, "#FF0000" for red).

  5. Save Changes: After updating the color value, save the changes to the "colors.xml" file.

 Path :  app/src/main/res/values/colors.xml

Screenshots : https://prnt.sc/tssH8l9PV5Xy

Did you find this article useful?