C
C#5mo ago
kubaludw

how do you use Color.fromArgb

help
9 Replies
Jimmacle
Jimmacle5mo ago
Color.FromArgb Method (System.Drawing)
Creates a Color structure from the four 8-bit ARGB components (alpha, red, green, and blue) values.
kubaludw
kubaludwOP5mo ago
oh, forgot about the docs. Thanks!
kubaludw
kubaludwOP5mo ago
so idk what this means
No description
Jimmacle
Jimmacle5mo ago
it means you're trying to use the wrong type for whatever variable you're trying to set or method you're trying to call specifically, you can't use System.Drawing.Color for console colors, because console colors are represented by System.ConsoleColor
kubaludw
kubaludwOP5mo ago
oh kk so how do you change
System.ConsoleColor?
System.ConsoleColor?
Jimmacle
Jimmacle5mo ago
ConsoleColor Enum (System)
Specifies constants that define foreground and background colors for the console.
kubaludw
kubaludwOP5mo ago
thats .net framework
kubaludw
kubaludwOP5mo ago
it was that simple?
No description
kubaludw
kubaludwOP5mo ago
welp
Want results from more Discord servers?
Add your server