#33333这样的不是RGB的颜色,是HTML中用的,
。NET   框架有个方法可以来转换:System.Drawing.ColorTranslator.ToHtml   和   System.Drawing.ColorTranslator.FromHtml

例子:
this.button1.BackColor = System.Drawing.ColorTranslator.FromHtml("#FF34B3");

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-02-11
  • 2021-12-19
  • 2022-12-23
  • 2021-11-11
  • 2021-10-13
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-05-17
  • 2022-01-10
  • 2021-12-22
  • 2021-07-21
  • 2022-12-23
相关资源
相似解决方案