Color.FromString

From Xojo Documentation

Shared Method

Color.FromString(hexString As String) As Color

New in 2020r1

Supported for all project types and targets.

Returns a Color from a hex string value.

Sample Code

Var hexColor As String = "&h00FF6432"
Var c2 As Color = Color.FromString(hexColor)