C
C#8mo ago
n00b_legend

how do you use Color.fromArgb

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

Did you find this page helpful?