Skip to content

ColorSetterBox ​

A swatch or a spectrum to pick a color from: ColorSlider lowers to it.

✓ checked against that system · ! checked, with disagreements (hover a chip)Wolfram LanguageColorSetterBox✓
ColorSetterBox(binding, domain, options)A swatch or a spectrum to pick a color from: ColorSlider lowers to it.
Typed signatures
TypePackageApplies
(expression, expression, expression*) -> boxesboxesalways

Domain: Boxes

Details
  • The domain is the swatch's look, "SwatchSpectrum" for a ColorSlider.
  • Its intent is a color: a host without a picker draws the value.

Examples

Basic #

a box is inert: it evaluates to itself

live ↗
InColorSetterBox(Dynamic(c),SwatchSpectrum)\mathrm{ColorSetterBox}(\mathrm{Dynamic}(c), \mathrm{SwatchSpectrum})OutColorSetterBox(Dynamic(c),SwatchSpectrum)\mathrm{ColorSetterBox}(\mathrm{Dynamic}(c), \mathrm{SwatchSpectrum})
About
Examples1
Checked againstWolfram Language 1 agree
CrosswalkWolfram Language

See also: SliderBox, DynamicBox