C
C#3mo ago
kubaludw

how do you use Color.fromArgb

help
9 Replies
Jimmacle
Jimmacle3mo ago
Color.FromArgb Method (System.Drawing)
Creates a Color structure from the four 8-bit ARGB components (alpha, red, green, and blue) values.
kubaludw
kubaludw3mo ago
oh, forgot about the docs. Thanks!
kubaludw
kubaludw3mo ago
so idk what this means
No description
Jimmacle
Jimmacle3mo 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
kubaludw3mo ago
oh kk so how do you change
System.ConsoleColor?
System.ConsoleColor?
Jimmacle
Jimmacle3mo ago
ConsoleColor Enum (System)
Specifies constants that define foreground and background colors for the console.
kubaludw
kubaludw3mo ago
thats .net framework
kubaludw
kubaludw3mo ago
it was that simple?
No description
kubaludw
kubaludw3mo ago
welp
Want results from more Discord servers?
Add your server