how to change transparency of a color in c#

前端 未结 4 860
天命终不由人
天命终不由人 2021-02-12 11:38

I am using SSRS reportviewer to generate a report using objects. In my program, I am asking the user to input a string of commonly known colors such as \"Red\", \"<

4条回答
  •  春和景丽
    2021-02-12 12:12

    I think what needs to be included among these answers is that the alpha value indicates how transparent the color is with 0 being the most transparent and with 255 being the most opaque. Here is a summary:

                         A L P H A    V A L U E
    0 [<--- most transparent]  ... ... ... [most opaque --->] 255
    

提交回复
热议问题