gentleface

Gentleface › Accessibility › contrast

contrast icon

Contrast: contrast, high contrast, high contrast mode, increase contrast. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed.

Code line-round

SVG
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M10.584 1.495L10.585 1.495C11.483 1.852 12.274 2.373 12.957 3.057L12.957 3.058C13.637 3.74 14.154 4.528 14.509 5.423C14.836 6.251 15 7.11 15 8C15 8.89 14.836 9.749 14.509 10.577C14.154 11.471 13.638 12.259 12.96 12.94L12.95 12.95L12.941 12.959C12.938 12.961 12.936 12.964 12.933 12.966C12.257 13.64 11.471 14.154 10.577 14.509C9.749 14.836 8.89 15 8 15C7.11 15 6.251 14.836 5.423 14.509C4.525 14.153 3.734 13.633 3.05 12.95C2.367 12.266 1.847 11.475 1.491 10.577C1.164 9.749 1 8.89 1 8C1 7.11 1.164 6.251 1.491 5.423C1.847 4.525 2.367 3.734 3.05 3.05C3.734 2.367 4.525 1.847 5.423 1.491C6.251 1.164 7.11 1 8 1C8.893 1 9.754 1.165 10.584 1.494L10.584 1.494L10.584 1.495ZM3.757 3.757C3.172 4.343 2.726 5.021 2.421 5.791C2.14 6.501 2 7.237 2 8C2 8.763 2.14 9.499 2.421 10.209C2.726 10.979 3.172 11.657 3.757 12.243C4.343 12.828 5.021 13.274 5.791 13.579C6.501 13.86 7.237 14 8 14L8 2C7.237 2 6.501 2.14 5.791 2.421C5.021 2.726 4.343 3.172 3.757 3.757Z"/></svg>
React
// Gentleface "contrast" (line-round), MIT. https://gentleface.com/icons/contrast
import type { SVGProps } from 'react';

export function ContrastIcon(props: SVGProps<SVGSVGElement>) {
  return (
    <svg xmlns="http://www.w3.org/2000/svg" width={16} height={16} viewBox="0 0 16 16" fill="currentColor" aria-hidden="true" {...props}>
      <path d="M10.584 1.495L10.585 1.495C11.483 1.852 12.274 2.373 12.957 3.057L12.957 3.058C13.637 3.74 14.154 4.528 14.509 5.423C14.836 6.251 15 7.11 15 8C15 8.89 14.836 9.749 14.509 10.577C14.154 11.471 13.638 12.259 12.96 12.94L12.95 12.95L12.941 12.959C12.938 12.961 12.936 12.964 12.933 12.966C12.257 13.64 11.471 14.154 10.577 14.509C9.749 14.836 8.89 15 8 15C7.11 15 6.251 14.836 5.423 14.509C4.525 14.153 3.734 13.633 3.05 12.95C2.367 12.266 1.847 11.475 1.491 10.577C1.164 9.749 1 8.89 1 8C1 7.11 1.164 6.251 1.491 5.423C1.847 4.525 2.367 3.734 3.05 3.05C3.734 2.367 4.525 1.847 5.423 1.491C6.251 1.164 7.11 1 8 1C8.893 1 9.754 1.165 10.584 1.494L10.584 1.494L10.584 1.495ZM3.757 3.757C3.172 4.343 2.726 5.021 2.421 5.791C2.14 6.501 2 7.237 2 8C2 8.763 2.14 9.499 2.421 10.209C2.726 10.979 3.172 11.657 3.757 12.243C4.343 12.828 5.021 13.274 5.791 13.579C6.501 13.86 7.237 14 8 14L8 2C7.237 2 6.501 2.14 5.791 2.421C5.021 2.726 4.343 3.172 3.757 3.757Z" />
    </svg>
  );
}
Vue
Vue: see /icons/contrast.md
Svelte
Svelte: see /icons/contrast.md
HTML img
HTML img: see /icons/contrast.md
CSS
CSS: see /icons/contrast.md
Data URL
Data URL: see /icons/contrast.md
Sprite
Sprite: see /icons/contrast.md
SwiftUI
SwiftUI: see /icons/contrast.md
Compose
Compose: see /icons/contrast.md
Android XML
Android XML: see /icons/contrast.md
Flutter
Flutter: see /icons/contrast.md

Each SVG is 16 × 16 with fill="currentColor". Keep it at 16 px or an exact multiple (32, 48) on whole pixels: a fractional size or position blurs it. The snippets are decorative (aria-hidden). For an icon that carries meaning on its own, such as an icon-only button, label the button, or give the SVG role="img" and an aria-label. More in how to use.

Meaning

Use it for
contrast, high contrast, high contrast mode, increase contrast
Alternatives
  • sun-dim: brightness rather than contrast
  • sun-moon: a light or dark theme rather than contrast
Also fits
  • brightness: contrast rather than brightness
Not for
  • theme (use sun-moon): the half-filled circle means contrast, not theme
  • in progress (use circle-progress): the half-filled circle means contrast
  • saturation (use droplet-half): the half-filled circle means contrast (contrast)
Tags
contrast, high-contrast, half, circle, display, theme, adjust
Category
Accessibility
Component name
ContrastIcon
History
  • added

More accessibility icons

For agents

Metadata: /icons/contrast.json · Markdown: /icons/contrast.md · SVG: https://gentleface.com/svg/{style}/16/contrast.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/contrast.png

Feedback