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="M8.979 7.834L5.987 7.834L5.277 10L3.97 10L4.181 9.382L4.181 9.381L6.698 2L8.314 2L8.429 2.339L8.429 2.339L11.03 10L9.678 10L9.566 9.654L9.566 9.654L8.979 7.834ZM7.867 4.35L7.5 3.192L7.443 3.192L7.076 4.35L6.285 6.722L8.658 6.722L7.867 4.35ZM12.856 11.144C12.952 11.241 13 11.359 13 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.144ZM12 12L3 12L3 14L12 14L12 12Z"/></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="M8.979 7.834L5.987 7.834L5.277 10L3.97 10L4.181 9.382L4.181 9.381L6.698 2L8.314 2L8.429 2.339L8.429 2.339L11.03 10L9.678 10L9.566 9.654L9.566 9.654L8.979 7.834ZM7.867 4.35L7.5 3.192L7.443 3.192L7.076 4.35L6.285 6.722L8.658 6.722L7.867 4.35ZM12.856 11.144C12.952 11.241 13 11.359 13 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.144ZM12 12L3 12L3 14L12 14L12 12Z" />
</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 icon is drawn on the 16 px grid, and most also on the 20 and 24 px grids (at 24 in three weights: light 1 px, regular 1.5 px, bold 2 px). Show the drawing made for your size, or an exact multiple of it, on whole pixels: 16 for 16 and 32 px, 20 for 20 and 40, 24 for 24 and 48. A size in between or a fractional position blurs it. The code on each icon page is the 16 px drawing, an SVG with fill="currentColor"; the icon page's downloads follow its Grid switch, and npm has the 20 and 24 px drawings too. 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.
With npm: import { TextColorIcon } from '@gentleface/react'; (setup).
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
- released in 0.1.0
- 20 px drawn, 24 px drawn
- 20 px redrawn, 24 px redrawn
- 16 px redrawn
- Since
- version 0.1.0
Family 40
More text & formatting icons
align-center align-distributed align-justify align-justify-center align-justify-right align-left align-right asterisk border-all border-bottom border-horizontal border-inner border-left border-none border-outer border-right · 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