Why is there a leading “#FF” in hexadecimal color values?

后端 未结 3 1471
执念已碎
执念已碎 2021-01-12 21:18

I\'m using Expression Blend 3 and am writing some of the XAML by hand, specifically the color values of controls.

I have a list of RGB colors already converted to hex

3条回答
  •  余生分开走
    2021-01-12 21:55

    I believe the leading FF is the alpha. 255 (or FF) being 100% opaque, and 00 would be transparent.

提交回复
热议问题