Table of Contents

CliColor.FromHex Method

Definition

Namespace
DotMake.CommandLine
Assembly
DotMake.CommandLine.dll

Creates a color from a hexadecimal string representation.

public static CliColor FromHex(string hex)

Parameters

hex string

The hexadecimal string representation of the color.

Returns

CliColor

The color created from the hexadecimal string.