Xojo Documentation
Xojo Documentation
Home
Getting Started
Get Started with Xojo
QuickStarts
Tutorials
Pi Programming
More Guides
Resources
In-Depth Guides
User Guide
Language Reference
Resources
Release Notes
System Requirements
Deprecations
Videos
Feedback
About
Usage
Copyrights and Trademarks
Tools
What links here
Related changes
Special pages
Printable version
Permanent link
Page information
Color.ToString
From Xojo Documentation
Method
Color
.ToString
()
As
String
New in 2020r1
Supported for all project types and targets.
Converts the Color to a hex String value.
Sample Code
Var
c1
As
Color
c1 =
Color
.
RGB(
255
,
100
,
50
)
Var
hexColor
As
String
= c1
.
ToString
// hexColor = &h00FF6432
Categories
:
New2020r1
Methods