Gentleface › Text & formatting › text-color
text-color icon
text-colorText color: text color, font color, text colour, font colour. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed.
Code line-round
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M11.977 9.659C11.934 9.788 11.85 9.884 11.724 9.947C11.598 10.01 11.47 10.02 11.341 9.977C11.212 9.934 11.116 9.85 11.053 9.724L9.691 7L5.309 7L3.947 9.724C3.884 9.85 3.788 9.934 3.659 9.977C3.53 10.02 3.402 10.01 3.276 9.947C3.15 9.884 3.066 9.788 3.023 9.659C2.98 9.53 2.99 9.402 3.053 9.276L7.053 1.276C7.116 1.15 7.212 1.066 7.341 1.023C7.47 0.98 7.598 0.99 7.724 1.053C7.823 1.102 7.898 1.177 7.947 1.276L11.947 9.276C12.01 9.402 12.02 9.53 11.977 9.659ZM7.5 2.618L5.809 6L9.191 6L7.5 2.618ZM13 11.5L13 14.5C13 14.641 12.952 14.759 12.856 14.856C12.759 14.952 12.641 15 12.5 15L2.5 15C2.359 15 2.241 14.952 2.144 14.856C2.048 14.759 2 14.641 2 14.5L2 11.5C2 11.359 2.048 11.241 2.144 11.144C2.241 11.048 2.359 11 2.5 11L12.5 11C12.641 11 12.759 11.048 12.856 11.144C12.952 11.241 13 11.359 13 11.5ZM3 14L12 14L12 12L3 12L3 14Z"/></svg>
// Gentleface "text-color" (line-round), MIT. https://gentleface.com/icons/text-color
import type { SVGProps } from 'react';
export function TextColorIcon(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="M11.977 9.659C11.934 9.788 11.85 9.884 11.724 9.947C11.598 10.01 11.47 10.02 11.341 9.977C11.212 9.934 11.116 9.85 11.053 9.724L9.691 7L5.309 7L3.947 9.724C3.884 9.85 3.788 9.934 3.659 9.977C3.53 10.02 3.402 10.01 3.276 9.947C3.15 9.884 3.066 9.788 3.023 9.659C2.98 9.53 2.99 9.402 3.053 9.276L7.053 1.276C7.116 1.15 7.212 1.066 7.341 1.023C7.47 0.98 7.598 0.99 7.724 1.053C7.823 1.102 7.898 1.177 7.947 1.276L11.947 9.276C12.01 9.402 12.02 9.53 11.977 9.659ZM7.5 2.618L5.809 6L9.191 6L7.5 2.618ZM13 11.5L13 14.5C13 14.641 12.952 14.759 12.856 14.856C12.759 14.952 12.641 15 12.5 15L2.5 15C2.359 15 2.241 14.952 2.144 14.856C2.048 14.759 2 14.641 2 14.5L2 11.5C2 11.359 2.048 11.241 2.144 11.144C2.241 11.048 2.359 11 2.5 11L12.5 11C12.641 11 12.759 11.048 12.856 11.144C12.952 11.241 13 11.359 13 11.5ZM3 14L12 14L12 12L3 12L3 14Z" />
</svg>
);
}Vue: see /icons/text-color.md
Svelte: see /icons/text-color.md
HTML img: see /icons/text-color.md
CSS: see /icons/text-color.md
Data URL: see /icons/text-color.md
Sprite: see /icons/text-color.md
SwiftUI: see /icons/text-color.md
Compose: see /icons/text-color.md
Android XML: see /icons/text-color.md
Flutter: see /icons/text-color.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
- text color, font color, text colour, font colour
- Alternatives
highlighter: the background highlight behind the text (highlight)
- Also fits
- line color: the font color
- Not for
- highlight (use
highlighter): changes the color of the letters, not the background behind them
- highlight (use
- Tags
- text-color, font-color, color, colour, letter, a, text, format
- Category
- Text & formatting
- Component name
TextColorIcon- History
- added
Family 21
More text & formatting icons
align-center align-justify align-left align-right asterisk border-all border-bottom border-inner border-left border-none border-right border-top checklist copyright divider divider-vertical · all text & formatting icons
For agents
Metadata: /icons/text-color.json · Markdown: /icons/text-color.md · SVG: https://gentleface.com/svg/{style}/16/text-color.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/text-color.png