From e8b3b493b0f20e6f93fe1fd1dab2d36e07e717be Mon Sep 17 00:00:00 2001 From: Chris Johnston Date: Mon, 30 Jul 2018 22:03:54 -0700 Subject: [PATCH] Added specification of how the bits of the color raw value are packed --- src/Discord.Net.Core/Entities/Roles/Color.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Discord.Net.Core/Entities/Roles/Color.cs b/src/Discord.Net.Core/Entities/Roles/Color.cs index a8917ec07..1da86a71f 100644 --- a/src/Discord.Net.Core/Entities/Roles/Color.cs +++ b/src/Discord.Net.Core/Entities/Roles/Color.cs @@ -75,6 +75,10 @@ namespace Discord public static readonly Color DarkerGrey = new Color(0x546E7A); /// Gets the encoded value for this color. + /// + /// This value is encoded as an unsigned integer value. The most-significant 8 bits contain the red value, + /// the middle 8 bits contain the green value, and the least-significant 8 bits contain the blue value. + /// public uint RawValue { get; } /// Gets the red component for this color.