Discore
Show / Hide Table of Contents

Struct DiscordColor

A structure representing color data from the Discord API.

Inherited Members
ValueType.Equals(object)
ValueType.GetHashCode()
object.Equals(object, object)
object.GetType()
object.ReferenceEquals(object, object)
Namespace: Discore
Assembly: Discore.dll
Syntax
public struct DiscordColor

Constructors

Name Description
DiscordColor(byte, byte, byte)

Creates a new DiscordColor instance.

Fields

Name Description
B

The blue component of the color.

G

The green component of the color.

R

The red component of the color.

Properties

Name Description
EmbedDefault

The default color used by Discord for embeds.

Methods

Name Description
FromHexadecimal(int)

Converts an Int32 containing a hexadecimal number into a DiscordColor.

ToHexadecimal()

Packs this DiscordColor into an Int32 representing a hexadecimal number.

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