monogame-ui-colorpicker
Installation
SKILL.md
MonoGame UI Color Picker
A color picker lets the user select a Color value. Two common forms:
- RGB Sliders — three
Sliderinstances (R, G, B) from 0–255 plus an optional Alpha slider. Simple to implement, easy to read. - HSV Picker — a hue bar (or wheel) + saturation/value square. More ergonomic for artists but requires HSV↔RGB conversion math.
For complete code templates, read references/ui-colorpicker.md.
Assumed Contract
ColorPickerRGB is a UIContainer that composes three Slider instances from monogame-ui-slider. Constructor: ColorPickerRGB(SpriteFont? font, Texture2D? pixel). It uses monogame-ui-layout's StackPanel internally. The preview swatch is rendered by tinting a 1×1 pixel texture.
RGB Slider Picker
The simplest form — compose three pre-built sliders: