C
C#14mo ago
nooby legend

how do you use Color.fromArgb

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

Did you find this page helpful?