formcolor
Formcolor is a design concept describing the deliberate use of color in form controls and related text to convey status, guide interaction, and reinforce brand identity. It is not a standard language feature or CSS property, but rather a term used in design systems and UI guidelines to coordinate color usage across input fields, labels, placeholders, borders, backgrounds, and messages within forms.
In practice, formcolor involves defining a compact palette of colors for different form elements and states,
Common components and states include idle input, focused input with a focus ring, hover effects, disabled controls,
Accessibility considerations are central to formcolor. Maintain contrast ratios per WCAG recommendations, avoid signaling status solely
Implementation often uses design tokens or CSS variables (for example, --form-border, --form-background, --form-foreground, --form-focus, --form-error) and
See also: color theory, accessibility, WCAG, design systems, design tokens.