Discore
Show / Hide Table of Contents

Method FromHexadecimal

| Improve this Doc View Source

FromHexadecimal(int)

Converts an Int32 containing a hexadecimal number into a DiscordColor.

Declaration
public static DiscordColor FromHexadecimal(int hex)
Parameters
Type Name Description
int hex

The hexadecimal Int32.

Returns
Type Description
DiscordColor

Returns the converted color.

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX