Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in .NET only
Search
Advanced Search
Forums
Product Launch
Updates
Today's Posts
Member List
Calendar
Home
Forum
Topic
.NET
VB.NET Hex to Color
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
SeasCommander
New Member
Join Date:
Sep 2007
Posts:
8
#1
VB.NET Hex to Color
Sep 24 '07, 04:14 AM
Hi, I have a hex in the form: "D57BF2" I need to convert to a useable richtextbox color. Thanks
hbxtlhx
New Member
Join Date:
Sep 2007
Posts:
10
#2
Sep 24 '07, 05:18 AM
Color color = Color.FromArgb( int.Parse("D57B F2", System.Globaliz ation.NumberSty les.HexNumber)) ;
Console.WriteLi ne(color);
----------------------------------------
out put:
Color [A=0, R=213, G=123, B=242]
Comment
Post
Cancel
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
👍
👎
☕
Comment