C
C#12mo ago
nac1ehash_

help change a default color into a color picker

Color color = Color.red; if (playerController?.FGOFLOEPNHI ?? true) { color = Color.white; } else if (playerController?.GIFCMNNJNHD ?? true) { color = Color.green; }
3 Replies
nac1ehash_
nac1ehash_OP12mo ago
i want to change the "white" "green" "red" into a hex color picker so that you can enter the hex value and it change there
lycian
lycian12mo ago
This is pretty vague. What type is Color here? There's a lot of different definitions for Color in dotnet
lycian
lycian12mo ago
Color.FromArgb Method (System.Drawing)
Creates a Color structure from the four 8-bit ARGB components (alpha, red, green, and blue) values.
Want results from more Discord servers?
Add your server