Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

Gradient color value explanation? #000000 is transparent?

Messing around with gradientBackgrounds and I noticed that if I use the color code '#000' (black) it comes up transparent, whereas if I use '#010101' it comes up black.

Can someone explain how the transparency works with gradients?

— asked August 10th 2010 by Todd Soligo
  • background
  • color
  • gradient
  • iphone
1 Comment
  • I've noticed this too. I think it's a bug.

    — commented August 12th 2010 by Clifton Labrum

1 Answer

  • I have also noticed this, but have no explanation for it. Both #000000 and #ffffff seem to be transparent ?!?

    — answered October 6th 2010 by Christopher Rumpf
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.