This forum contains outdated content and is available for reading only. Please contact technical support if you have any questions.
Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
Michel  
#1 Posted : Monday, May 2, 2005 6:10:00 PM(UTC)
Michel

Rank: Member

Groups: Member
Joined: 4/24/2005(UTC)
Posts: 15

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

Dmitry  
#2 Posted : Tuesday, May 3, 2005 2:13:00 PM(UTC)
Dmitry

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 8/3/2003(UTC)
Posts: 1,070

Thanks: 1 times
Was thanked: 12 time(s) in 12 post(s)
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

Edited by user Monday, December 24, 2007 3:26:19 PM(UTC)  | Reason: Not specified

Sincerely yours,

Dmitry Sevostyanov

UserPostedImage Follow Aurigma on Twitter!

Michel  
#3 Posted : Tuesday, May 3, 2005 4:13:00 PM(UTC)
Michel

Rank: Member

Groups: Member
Joined: 4/24/2005(UTC)
Posts: 15

thank you!

Michel

Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.