C
C#7mo 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_7mo 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
lycian7mo ago
This is pretty vague. What type is Color here? There's a lot of different definitions for Color in dotnet
lycian
lycian7mo ago
Color.FromArgb Method (System.Drawing)
Creates a Color structure from the four 8-bit ARGB components (alpha, red, green, and blue) values.