Rank: Member Groups: Member
Joined: 4/25/2005 Posts: 15 Points: 0
|
Hello,
I am working in ASP.net in VB and I would like to know if it is possible to convert hexadecimal color into RGB (or aRGB).
Thank you,
Michel
|
Rank: Advanced Member Groups: Administration
, Member
Joined: 8/3/2003 Posts: 472 Points: 246
|
Hello, You can use Aurigma.GraphicsMill.RgbColor class to perform this. For example: Code:
Dim color As Aurigma.GraphicsMill.RgbColor
color = Aurigma.GraphicsMill.RgbColor.FromArgb32(&H112233)
Dim a As Integer = color.A
Dim r As Integer = color.R
Dim g As Integer = color.G
Dim b As Integer = color.B
Sincerely yours, Dmitry Sevostjanov.
|
Rank: Member Groups: Member
Joined: 4/25/2005 Posts: 15 Points: 0
|
thank you!
Michel
|