Forums

Welcome Guest Search | Active Topics | Members

Hexadecimal color Options
Michel
Posted: Tuesday, May 03, 2005 2:10:00 AM
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
Dmitry
Posted: Tuesday, May 03, 2005 10:13:00 PM
Rank: Advanced Member
Groups: Administration , Member

Joined: 8/3/2003
Posts: 500
Points: 330
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.
Michel
Posted: Wednesday, May 04, 2005 12:13:00 AM
Rank: Member
Groups: Member

Joined: 4/25/2005
Posts: 15
Points: 0
thank you!

Michel
Users browsing this topic
Guest


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.

Main Forum RSS : RSS

YAFVision Theme Created by Jaben Cargman (Tiny Gecko)
Yet Another Forum.net version 1.9.1.6 running under Cuyahoga.
Copyright © 2003-2006 Yet Another Forum.net. All rights reserved.