Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6038957
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T06:17:51+00:00 2026-05-23T06:17:51+00:00

I would like some clarification on what the code in front of the HTML

  • 0

I would like some clarification on what the code in front of the HTML color code is called and how it functions.

1) I’m assuming, in the example below, the endColor of #00000000 with the two preceding 00 tells the color to be generated more transparent than say FF.

2) But what’s the scale?

3) Is there some kind of hex scale that equates to certain percentages?

I’m really confused and can find no documentation because I’m not even sure of the the terminology I should be searching for other than ‘xml transparent gradient’ which doesn’t tell me what I want to know.

Any/All help is appreciated. Thanks

<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
    android:shape="rectangle">
    <gradient
        android:startColor="#DD63594A"
        android:endColor="#00000000"
        android:angle="90"/>
    <padding android:left="4dp"
        android:top="1dp"
        android:right="4dp" 
        android:bottom="1dp" />
    <corners android:bottomRightRadius="1dp" android:bottomLeftRadius="1dp" 
        android:topLeftRadius="7dp" android:topRightRadius="7dp"/>
</shape>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T06:17:52+00:00Added an answer on May 23, 2026 at 6:17 am

    It’s hexadecimal. The scale is the same as the RGB values in the rest of the color code, so 00 would be alpha=0 and FF would be alpha=255. Basic math explains the rest.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am learning C++ exceptions and I would like some clarification of the scenario:
I got nabbed by the following bug again and would like some clarification to
OK n00b here with SOAP, Would like some clarification on how to use SOAP.
I would like to run some code right after a certain set of elements
I just have a small question that I would like some clarification about, if
I would like to get some clarification to this answer -> Nested stored procedures
I would like some advice on the best approach to use in the following
I would like some of my preferences to have icons, like the Settings app.
I am developing a site and i would like some simple markup. I would
I am designing RESTful Api's and would like some advice on designing an API

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.