# hat-cowboy icon

Hat cowboy. Gentleface icon, drawn on the 16 px pixel grid. Free, MIT licensed. Page: https://gentleface.com/icons/hat-cowboy

- Category: Travel
- Use it for: cowboy hat, western
- Tags: cowboy-hat, cowboy, western, stetson, ranch, rodeo, hat, headwear, clothing, country
- Family: hat, hat-bowler
- Component name: HatCowboyIcon
- Added: 2026-11-12

## Files

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.

- line-round: https://gentleface.com/svg/line-round/16/hat-cowboy.svg · PNG https://gentleface.com/png/line-round/16/hat-cowboy.png · https://gentleface.com/png/line-round/32/hat-cowboy.png · https://gentleface.com/png/line-round/48/hat-cowboy.png
- line-soft: https://gentleface.com/svg/line-soft/16/hat-cowboy.svg · PNG https://gentleface.com/png/line-soft/16/hat-cowboy.png · https://gentleface.com/png/line-soft/32/hat-cowboy.png · https://gentleface.com/png/line-soft/48/hat-cowboy.png
- line-sharp: https://gentleface.com/svg/line-sharp/16/hat-cowboy.svg · PNG https://gentleface.com/png/line-sharp/16/hat-cowboy.png · https://gentleface.com/png/line-sharp/32/hat-cowboy.png · https://gentleface.com/png/line-sharp/48/hat-cowboy.png
- solid-round: https://gentleface.com/svg/solid-round/16/hat-cowboy.svg · PNG https://gentleface.com/png/solid-round/16/hat-cowboy.png · https://gentleface.com/png/solid-round/32/hat-cowboy.png · https://gentleface.com/png/solid-round/48/hat-cowboy.png
- solid-soft: https://gentleface.com/svg/solid-soft/16/hat-cowboy.svg · PNG https://gentleface.com/png/solid-soft/16/hat-cowboy.png · https://gentleface.com/png/solid-soft/32/hat-cowboy.png · https://gentleface.com/png/solid-soft/48/hat-cowboy.png
- solid-sharp: https://gentleface.com/svg/solid-sharp/16/hat-cowboy.svg · PNG https://gentleface.com/png/solid-sharp/16/hat-cowboy.png · https://gentleface.com/png/solid-sharp/32/hat-cowboy.png · https://gentleface.com/png/solid-sharp/48/hat-cowboy.png

The SVG of every style: https://gentleface.com/icons/hat-cowboy.json (`svg`).

## Code (line-round)

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. For another style, take its SVG from the JSON and swap the path `d`.

### SVG

```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="M14.856 6.144C14.952 6.241 15 6.359 15 6.5C15 7.435 14.835 8.281 14.505 9.036C14.178 9.785 13.7 10.422 13.07 10.947C12.454 11.46 11.713 11.848 10.849 12.111C9.996 12.37 9.046 12.5 8 12.5C6.954 12.5 6.004 12.37 5.151 12.111C4.287 11.848 3.546 11.46 2.93 10.947C2.3 10.422 1.822 9.785 1.495 9.036C1.165 8.281 1 7.435 1 6.5C1 6.359 1.048 6.241 1.144 6.144C1.241 6.048 1.359 6 1.5 6L3.5 6C3.641 6 3.759 6.048 3.856 6.144C3.952 6.241 4 6.359 4 6.5C4 7.516 4.168 8.22 4.505 8.612C4.633 8.762 4.798 8.868 5 8.931L5 8.5C5 7.405 5.021 6.56 5.064 5.964C5.139 4.915 5.293 4.041 5.526 3.342C5.56 3.239 5.621 3.156 5.707 3.093C5.793 3.031 5.891 3 6 3C6.315 3 6.598 3.076 6.851 3.228C6.99 3.311 7.158 3.451 7.354 3.646C7.491 3.784 7.595 3.874 7.663 3.915C7.758 3.972 7.87 4 8 4C8.13 4 8.242 3.972 8.337 3.915C8.405 3.874 8.509 3.784 8.646 3.646C8.842 3.451 9.01 3.311 9.149 3.228C9.402 3.076 9.685 3 10 3C10.109 3 10.207 3.031 10.293 3.093C10.379 3.156 10.44 3.239 10.474 3.342C10.707 4.041 10.861 4.915 10.936 5.964C10.979 6.56 11 7.405 11 8.5L11 8.931C11.202 8.868 11.367 8.762 11.495 8.612C11.832 8.22 12 7.516 12 6.5C12 6.359 12.048 6.241 12.144 6.144C12.241 6.048 12.359 6 12.5 6L14.5 6C14.641 6 14.759 6.048 14.856 6.144ZM9.986 7.132C9.976 6.699 9.96 6.333 9.939 6.036C9.885 5.282 9.789 4.635 9.652 4.092C9.583 4.136 9.484 4.223 9.354 4.354C9.158 4.549 8.99 4.689 8.851 4.772C8.598 4.924 8.315 5 8 5C7.685 5 7.402 4.924 7.149 4.772C7.01 4.689 6.842 4.549 6.646 4.354C6.516 4.223 6.417 4.136 6.348 4.092C6.211 4.635 6.115 5.282 6.061 6.036C6.04 6.333 6.024 6.699 6.014 7.132C6.619 7.294 7.281 7.375 8 7.375C8.719 7.375 9.381 7.294 9.986 7.132ZM2.411 8.636C2.675 9.241 3.062 9.755 3.57 10.178C4.083 10.606 4.707 10.931 5.442 11.154C6.2 11.385 7.053 11.5 8 11.5C8.947 11.5 9.8 11.385 10.558 11.154C11.293 10.931 11.917 10.606 12.43 10.178C12.938 9.755 13.325 9.241 13.589 8.636C13.804 8.142 13.935 7.597 13.981 7L12.986 7C12.927 8.008 12.683 8.763 12.255 9.263C11.849 9.736 11.292 9.981 10.583 9.999C9.801 10.25 8.94 10.375 8 10.375C7.06 10.375 6.199 10.25 5.417 9.999C4.708 9.981 4.151 9.736 3.745 9.263C3.317 8.763 3.073 8.008 3.014 7L2.019 7C2.065 7.597 2.196 8.142 2.411 8.636ZM9.999 8.159C9.378 8.303 8.712 8.375 8 8.375C7.288 8.375 6.622 8.303 6.001 8.159L6 8.5L6 9.129C6.609 9.293 7.276 9.375 8 9.375C8.724 9.375 9.391 9.293 10 9.129L10 8.5L9.999 8.159Z"/></svg>
```

### React

```tsx
// Gentleface "hat-cowboy" (line-round), MIT. https://gentleface.com/icons/hat-cowboy
import type { SVGProps } from 'react';

export function HatCowboyIcon(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="M14.856 6.144C14.952 6.241 15 6.359 15 6.5C15 7.435 14.835 8.281 14.505 9.036C14.178 9.785 13.7 10.422 13.07 10.947C12.454 11.46 11.713 11.848 10.849 12.111C9.996 12.37 9.046 12.5 8 12.5C6.954 12.5 6.004 12.37 5.151 12.111C4.287 11.848 3.546 11.46 2.93 10.947C2.3 10.422 1.822 9.785 1.495 9.036C1.165 8.281 1 7.435 1 6.5C1 6.359 1.048 6.241 1.144 6.144C1.241 6.048 1.359 6 1.5 6L3.5 6C3.641 6 3.759 6.048 3.856 6.144C3.952 6.241 4 6.359 4 6.5C4 7.516 4.168 8.22 4.505 8.612C4.633 8.762 4.798 8.868 5 8.931L5 8.5C5 7.405 5.021 6.56 5.064 5.964C5.139 4.915 5.293 4.041 5.526 3.342C5.56 3.239 5.621 3.156 5.707 3.093C5.793 3.031 5.891 3 6 3C6.315 3 6.598 3.076 6.851 3.228C6.99 3.311 7.158 3.451 7.354 3.646C7.491 3.784 7.595 3.874 7.663 3.915C7.758 3.972 7.87 4 8 4C8.13 4 8.242 3.972 8.337 3.915C8.405 3.874 8.509 3.784 8.646 3.646C8.842 3.451 9.01 3.311 9.149 3.228C9.402 3.076 9.685 3 10 3C10.109 3 10.207 3.031 10.293 3.093C10.379 3.156 10.44 3.239 10.474 3.342C10.707 4.041 10.861 4.915 10.936 5.964C10.979 6.56 11 7.405 11 8.5L11 8.931C11.202 8.868 11.367 8.762 11.495 8.612C11.832 8.22 12 7.516 12 6.5C12 6.359 12.048 6.241 12.144 6.144C12.241 6.048 12.359 6 12.5 6L14.5 6C14.641 6 14.759 6.048 14.856 6.144ZM9.986 7.132C9.976 6.699 9.96 6.333 9.939 6.036C9.885 5.282 9.789 4.635 9.652 4.092C9.583 4.136 9.484 4.223 9.354 4.354C9.158 4.549 8.99 4.689 8.851 4.772C8.598 4.924 8.315 5 8 5C7.685 5 7.402 4.924 7.149 4.772C7.01 4.689 6.842 4.549 6.646 4.354C6.516 4.223 6.417 4.136 6.348 4.092C6.211 4.635 6.115 5.282 6.061 6.036C6.04 6.333 6.024 6.699 6.014 7.132C6.619 7.294 7.281 7.375 8 7.375C8.719 7.375 9.381 7.294 9.986 7.132ZM2.411 8.636C2.675 9.241 3.062 9.755 3.57 10.178C4.083 10.606 4.707 10.931 5.442 11.154C6.2 11.385 7.053 11.5 8 11.5C8.947 11.5 9.8 11.385 10.558 11.154C11.293 10.931 11.917 10.606 12.43 10.178C12.938 9.755 13.325 9.241 13.589 8.636C13.804 8.142 13.935 7.597 13.981 7L12.986 7C12.927 8.008 12.683 8.763 12.255 9.263C11.849 9.736 11.292 9.981 10.583 9.999C9.801 10.25 8.94 10.375 8 10.375C7.06 10.375 6.199 10.25 5.417 9.999C4.708 9.981 4.151 9.736 3.745 9.263C3.317 8.763 3.073 8.008 3.014 7L2.019 7C2.065 7.597 2.196 8.142 2.411 8.636ZM9.999 8.159C9.378 8.303 8.712 8.375 8 8.375C7.288 8.375 6.622 8.303 6.001 8.159L6 8.5L6 9.129C6.609 9.293 7.276 9.375 8 9.375C8.724 9.375 9.391 9.293 10 9.129L10 8.5L9.999 8.159Z" />
    </svg>
  );
}
```

### Vue

```vue
<!-- Gentleface "hat-cowboy" (line-round), MIT. https://gentleface.com/icons/hat-cowboy -->
<template>
  <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true">
    <path d="M14.856 6.144C14.952 6.241 15 6.359 15 6.5C15 7.435 14.835 8.281 14.505 9.036C14.178 9.785 13.7 10.422 13.07 10.947C12.454 11.46 11.713 11.848 10.849 12.111C9.996 12.37 9.046 12.5 8 12.5C6.954 12.5 6.004 12.37 5.151 12.111C4.287 11.848 3.546 11.46 2.93 10.947C2.3 10.422 1.822 9.785 1.495 9.036C1.165 8.281 1 7.435 1 6.5C1 6.359 1.048 6.241 1.144 6.144C1.241 6.048 1.359 6 1.5 6L3.5 6C3.641 6 3.759 6.048 3.856 6.144C3.952 6.241 4 6.359 4 6.5C4 7.516 4.168 8.22 4.505 8.612C4.633 8.762 4.798 8.868 5 8.931L5 8.5C5 7.405 5.021 6.56 5.064 5.964C5.139 4.915 5.293 4.041 5.526 3.342C5.56 3.239 5.621 3.156 5.707 3.093C5.793 3.031 5.891 3 6 3C6.315 3 6.598 3.076 6.851 3.228C6.99 3.311 7.158 3.451 7.354 3.646C7.491 3.784 7.595 3.874 7.663 3.915C7.758 3.972 7.87 4 8 4C8.13 4 8.242 3.972 8.337 3.915C8.405 3.874 8.509 3.784 8.646 3.646C8.842 3.451 9.01 3.311 9.149 3.228C9.402 3.076 9.685 3 10 3C10.109 3 10.207 3.031 10.293 3.093C10.379 3.156 10.44 3.239 10.474 3.342C10.707 4.041 10.861 4.915 10.936 5.964C10.979 6.56 11 7.405 11 8.5L11 8.931C11.202 8.868 11.367 8.762 11.495 8.612C11.832 8.22 12 7.516 12 6.5C12 6.359 12.048 6.241 12.144 6.144C12.241 6.048 12.359 6 12.5 6L14.5 6C14.641 6 14.759 6.048 14.856 6.144ZM9.986 7.132C9.976 6.699 9.96 6.333 9.939 6.036C9.885 5.282 9.789 4.635 9.652 4.092C9.583 4.136 9.484 4.223 9.354 4.354C9.158 4.549 8.99 4.689 8.851 4.772C8.598 4.924 8.315 5 8 5C7.685 5 7.402 4.924 7.149 4.772C7.01 4.689 6.842 4.549 6.646 4.354C6.516 4.223 6.417 4.136 6.348 4.092C6.211 4.635 6.115 5.282 6.061 6.036C6.04 6.333 6.024 6.699 6.014 7.132C6.619 7.294 7.281 7.375 8 7.375C8.719 7.375 9.381 7.294 9.986 7.132ZM2.411 8.636C2.675 9.241 3.062 9.755 3.57 10.178C4.083 10.606 4.707 10.931 5.442 11.154C6.2 11.385 7.053 11.5 8 11.5C8.947 11.5 9.8 11.385 10.558 11.154C11.293 10.931 11.917 10.606 12.43 10.178C12.938 9.755 13.325 9.241 13.589 8.636C13.804 8.142 13.935 7.597 13.981 7L12.986 7C12.927 8.008 12.683 8.763 12.255 9.263C11.849 9.736 11.292 9.981 10.583 9.999C9.801 10.25 8.94 10.375 8 10.375C7.06 10.375 6.199 10.25 5.417 9.999C4.708 9.981 4.151 9.736 3.745 9.263C3.317 8.763 3.073 8.008 3.014 7L2.019 7C2.065 7.597 2.196 8.142 2.411 8.636ZM9.999 8.159C9.378 8.303 8.712 8.375 8 8.375C7.288 8.375 6.622 8.303 6.001 8.159L6 8.5L6 9.129C6.609 9.293 7.276 9.375 8 9.375C8.724 9.375 9.391 9.293 10 9.129L10 8.5L9.999 8.159Z" />
  </svg>
</template>
```

### Svelte

```svelte
<!-- Gentleface "hat-cowboy" (line-round), MIT. https://gentleface.com/icons/hat-cowboy -->
<script>
  let props = $props();
</script>

<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="M14.856 6.144C14.952 6.241 15 6.359 15 6.5C15 7.435 14.835 8.281 14.505 9.036C14.178 9.785 13.7 10.422 13.07 10.947C12.454 11.46 11.713 11.848 10.849 12.111C9.996 12.37 9.046 12.5 8 12.5C6.954 12.5 6.004 12.37 5.151 12.111C4.287 11.848 3.546 11.46 2.93 10.947C2.3 10.422 1.822 9.785 1.495 9.036C1.165 8.281 1 7.435 1 6.5C1 6.359 1.048 6.241 1.144 6.144C1.241 6.048 1.359 6 1.5 6L3.5 6C3.641 6 3.759 6.048 3.856 6.144C3.952 6.241 4 6.359 4 6.5C4 7.516 4.168 8.22 4.505 8.612C4.633 8.762 4.798 8.868 5 8.931L5 8.5C5 7.405 5.021 6.56 5.064 5.964C5.139 4.915 5.293 4.041 5.526 3.342C5.56 3.239 5.621 3.156 5.707 3.093C5.793 3.031 5.891 3 6 3C6.315 3 6.598 3.076 6.851 3.228C6.99 3.311 7.158 3.451 7.354 3.646C7.491 3.784 7.595 3.874 7.663 3.915C7.758 3.972 7.87 4 8 4C8.13 4 8.242 3.972 8.337 3.915C8.405 3.874 8.509 3.784 8.646 3.646C8.842 3.451 9.01 3.311 9.149 3.228C9.402 3.076 9.685 3 10 3C10.109 3 10.207 3.031 10.293 3.093C10.379 3.156 10.44 3.239 10.474 3.342C10.707 4.041 10.861 4.915 10.936 5.964C10.979 6.56 11 7.405 11 8.5L11 8.931C11.202 8.868 11.367 8.762 11.495 8.612C11.832 8.22 12 7.516 12 6.5C12 6.359 12.048 6.241 12.144 6.144C12.241 6.048 12.359 6 12.5 6L14.5 6C14.641 6 14.759 6.048 14.856 6.144ZM9.986 7.132C9.976 6.699 9.96 6.333 9.939 6.036C9.885 5.282 9.789 4.635 9.652 4.092C9.583 4.136 9.484 4.223 9.354 4.354C9.158 4.549 8.99 4.689 8.851 4.772C8.598 4.924 8.315 5 8 5C7.685 5 7.402 4.924 7.149 4.772C7.01 4.689 6.842 4.549 6.646 4.354C6.516 4.223 6.417 4.136 6.348 4.092C6.211 4.635 6.115 5.282 6.061 6.036C6.04 6.333 6.024 6.699 6.014 7.132C6.619 7.294 7.281 7.375 8 7.375C8.719 7.375 9.381 7.294 9.986 7.132ZM2.411 8.636C2.675 9.241 3.062 9.755 3.57 10.178C4.083 10.606 4.707 10.931 5.442 11.154C6.2 11.385 7.053 11.5 8 11.5C8.947 11.5 9.8 11.385 10.558 11.154C11.293 10.931 11.917 10.606 12.43 10.178C12.938 9.755 13.325 9.241 13.589 8.636C13.804 8.142 13.935 7.597 13.981 7L12.986 7C12.927 8.008 12.683 8.763 12.255 9.263C11.849 9.736 11.292 9.981 10.583 9.999C9.801 10.25 8.94 10.375 8 10.375C7.06 10.375 6.199 10.25 5.417 9.999C4.708 9.981 4.151 9.736 3.745 9.263C3.317 8.763 3.073 8.008 3.014 7L2.019 7C2.065 7.597 2.196 8.142 2.411 8.636ZM9.999 8.159C9.378 8.303 8.712 8.375 8 8.375C7.288 8.375 6.622 8.303 6.001 8.159L6 8.5L6 9.129C6.609 9.293 7.276 9.375 8 9.375C8.724 9.375 9.391 9.293 10 9.129L10 8.5L9.999 8.159Z" />
</svg>
```

### HTML img

```html
<!-- Gentleface "hat-cowboy" (line-round), MIT. https://gentleface.com/icons/hat-cowboy. An <img> can't take currentColor: it draws black. Inline the SVG or use the CSS mask to color it. -->
<img src="https://gentleface.com/svg/line-round/16/hat-cowboy.svg" width="16" height="16" alt="">
```

### CSS

```css
/* Gentleface "hat-cowboy" (line-round), MIT. https://gentleface.com/icons/hat-cowboy. Takes the text color. */
.icon-hat-cowboy {
  display: inline-block;
  width: 16px;
  height: 16px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='currentColor'%3E%3Cpath d='M14.856 6.144C14.952 6.241 15 6.359 15 6.5C15 7.435 14.835 8.281 14.505 9.036C14.178 9.785 13.7 10.422 13.07 10.947C12.454 11.46 11.713 11.848 10.849 12.111C9.996 12.37 9.046 12.5 8 12.5C6.954 12.5 6.004 12.37 5.151 12.111C4.287 11.848 3.546 11.46 2.93 10.947C2.3 10.422 1.822 9.785 1.495 9.036C1.165 8.281 1 7.435 1 6.5C1 6.359 1.048 6.241 1.144 6.144C1.241 6.048 1.359 6 1.5 6L3.5 6C3.641 6 3.759 6.048 3.856 6.144C3.952 6.241 4 6.359 4 6.5C4 7.516 4.168 8.22 4.505 8.612C4.633 8.762 4.798 8.868 5 8.931L5 8.5C5 7.405 5.021 6.56 5.064 5.964C5.139 4.915 5.293 4.041 5.526 3.342C5.56 3.239 5.621 3.156 5.707 3.093C5.793 3.031 5.891 3 6 3C6.315 3 6.598 3.076 6.851 3.228C6.99 3.311 7.158 3.451 7.354 3.646C7.491 3.784 7.595 3.874 7.663 3.915C7.758 3.972 7.87 4 8 4C8.13 4 8.242 3.972 8.337 3.915C8.405 3.874 8.509 3.784 8.646 3.646C8.842 3.451 9.01 3.311 9.149 3.228C9.402 3.076 9.685 3 10 3C10.109 3 10.207 3.031 10.293 3.093C10.379 3.156 10.44 3.239 10.474 3.342C10.707 4.041 10.861 4.915 10.936 5.964C10.979 6.56 11 7.405 11 8.5L11 8.931C11.202 8.868 11.367 8.762 11.495 8.612C11.832 8.22 12 7.516 12 6.5C12 6.359 12.048 6.241 12.144 6.144C12.241 6.048 12.359 6 12.5 6L14.5 6C14.641 6 14.759 6.048 14.856 6.144ZM9.986 7.132C9.976 6.699 9.96 6.333 9.939 6.036C9.885 5.282 9.789 4.635 9.652 4.092C9.583 4.136 9.484 4.223 9.354 4.354C9.158 4.549 8.99 4.689 8.851 4.772C8.598 4.924 8.315 5 8 5C7.685 5 7.402 4.924 7.149 4.772C7.01 4.689 6.842 4.549 6.646 4.354C6.516 4.223 6.417 4.136 6.348 4.092C6.211 4.635 6.115 5.282 6.061 6.036C6.04 6.333 6.024 6.699 6.014 7.132C6.619 7.294 7.281 7.375 8 7.375C8.719 7.375 9.381 7.294 9.986 7.132ZM2.411 8.636C2.675 9.241 3.062 9.755 3.57 10.178C4.083 10.606 4.707 10.931 5.442 11.154C6.2 11.385 7.053 11.5 8 11.5C8.947 11.5 9.8 11.385 10.558 11.154C11.293 10.931 11.917 10.606 12.43 10.178C12.938 9.755 13.325 9.241 13.589 8.636C13.804 8.142 13.935 7.597 13.981 7L12.986 7C12.927 8.008 12.683 8.763 12.255 9.263C11.849 9.736 11.292 9.981 10.583 9.999C9.801 10.25 8.94 10.375 8 10.375C7.06 10.375 6.199 10.25 5.417 9.999C4.708 9.981 4.151 9.736 3.745 9.263C3.317 8.763 3.073 8.008 3.014 7L2.019 7C2.065 7.597 2.196 8.142 2.411 8.636ZM9.999 8.159C9.378 8.303 8.712 8.375 8 8.375C7.288 8.375 6.622 8.303 6.001 8.159L6 8.5L6 9.129C6.609 9.293 7.276 9.375 8 9.375C8.724 9.375 9.391 9.293 10 9.129L10 8.5L9.999 8.159Z'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='currentColor'%3E%3Cpath d='M14.856 6.144C14.952 6.241 15 6.359 15 6.5C15 7.435 14.835 8.281 14.505 9.036C14.178 9.785 13.7 10.422 13.07 10.947C12.454 11.46 11.713 11.848 10.849 12.111C9.996 12.37 9.046 12.5 8 12.5C6.954 12.5 6.004 12.37 5.151 12.111C4.287 11.848 3.546 11.46 2.93 10.947C2.3 10.422 1.822 9.785 1.495 9.036C1.165 8.281 1 7.435 1 6.5C1 6.359 1.048 6.241 1.144 6.144C1.241 6.048 1.359 6 1.5 6L3.5 6C3.641 6 3.759 6.048 3.856 6.144C3.952 6.241 4 6.359 4 6.5C4 7.516 4.168 8.22 4.505 8.612C4.633 8.762 4.798 8.868 5 8.931L5 8.5C5 7.405 5.021 6.56 5.064 5.964C5.139 4.915 5.293 4.041 5.526 3.342C5.56 3.239 5.621 3.156 5.707 3.093C5.793 3.031 5.891 3 6 3C6.315 3 6.598 3.076 6.851 3.228C6.99 3.311 7.158 3.451 7.354 3.646C7.491 3.784 7.595 3.874 7.663 3.915C7.758 3.972 7.87 4 8 4C8.13 4 8.242 3.972 8.337 3.915C8.405 3.874 8.509 3.784 8.646 3.646C8.842 3.451 9.01 3.311 9.149 3.228C9.402 3.076 9.685 3 10 3C10.109 3 10.207 3.031 10.293 3.093C10.379 3.156 10.44 3.239 10.474 3.342C10.707 4.041 10.861 4.915 10.936 5.964C10.979 6.56 11 7.405 11 8.5L11 8.931C11.202 8.868 11.367 8.762 11.495 8.612C11.832 8.22 12 7.516 12 6.5C12 6.359 12.048 6.241 12.144 6.144C12.241 6.048 12.359 6 12.5 6L14.5 6C14.641 6 14.759 6.048 14.856 6.144ZM9.986 7.132C9.976 6.699 9.96 6.333 9.939 6.036C9.885 5.282 9.789 4.635 9.652 4.092C9.583 4.136 9.484 4.223 9.354 4.354C9.158 4.549 8.99 4.689 8.851 4.772C8.598 4.924 8.315 5 8 5C7.685 5 7.402 4.924 7.149 4.772C7.01 4.689 6.842 4.549 6.646 4.354C6.516 4.223 6.417 4.136 6.348 4.092C6.211 4.635 6.115 5.282 6.061 6.036C6.04 6.333 6.024 6.699 6.014 7.132C6.619 7.294 7.281 7.375 8 7.375C8.719 7.375 9.381 7.294 9.986 7.132ZM2.411 8.636C2.675 9.241 3.062 9.755 3.57 10.178C4.083 10.606 4.707 10.931 5.442 11.154C6.2 11.385 7.053 11.5 8 11.5C8.947 11.5 9.8 11.385 10.558 11.154C11.293 10.931 11.917 10.606 12.43 10.178C12.938 9.755 13.325 9.241 13.589 8.636C13.804 8.142 13.935 7.597 13.981 7L12.986 7C12.927 8.008 12.683 8.763 12.255 9.263C11.849 9.736 11.292 9.981 10.583 9.999C9.801 10.25 8.94 10.375 8 10.375C7.06 10.375 6.199 10.25 5.417 9.999C4.708 9.981 4.151 9.736 3.745 9.263C3.317 8.763 3.073 8.008 3.014 7L2.019 7C2.065 7.597 2.196 8.142 2.411 8.636ZM9.999 8.159C9.378 8.303 8.712 8.375 8 8.375C7.288 8.375 6.622 8.303 6.001 8.159L6 8.5L6 9.129C6.609 9.293 7.276 9.375 8 9.375C8.724 9.375 9.391 9.293 10 9.129L10 8.5L9.999 8.159Z'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
}
```

### Data URL

```text
data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='currentColor'%3E%3Cpath d='M14.856 6.144C14.952 6.241 15 6.359 15 6.5C15 7.435 14.835 8.281 14.505 9.036C14.178 9.785 13.7 10.422 13.07 10.947C12.454 11.46 11.713 11.848 10.849 12.111C9.996 12.37 9.046 12.5 8 12.5C6.954 12.5 6.004 12.37 5.151 12.111C4.287 11.848 3.546 11.46 2.93 10.947C2.3 10.422 1.822 9.785 1.495 9.036C1.165 8.281 1 7.435 1 6.5C1 6.359 1.048 6.241 1.144 6.144C1.241 6.048 1.359 6 1.5 6L3.5 6C3.641 6 3.759 6.048 3.856 6.144C3.952 6.241 4 6.359 4 6.5C4 7.516 4.168 8.22 4.505 8.612C4.633 8.762 4.798 8.868 5 8.931L5 8.5C5 7.405 5.021 6.56 5.064 5.964C5.139 4.915 5.293 4.041 5.526 3.342C5.56 3.239 5.621 3.156 5.707 3.093C5.793 3.031 5.891 3 6 3C6.315 3 6.598 3.076 6.851 3.228C6.99 3.311 7.158 3.451 7.354 3.646C7.491 3.784 7.595 3.874 7.663 3.915C7.758 3.972 7.87 4 8 4C8.13 4 8.242 3.972 8.337 3.915C8.405 3.874 8.509 3.784 8.646 3.646C8.842 3.451 9.01 3.311 9.149 3.228C9.402 3.076 9.685 3 10 3C10.109 3 10.207 3.031 10.293 3.093C10.379 3.156 10.44 3.239 10.474 3.342C10.707 4.041 10.861 4.915 10.936 5.964C10.979 6.56 11 7.405 11 8.5L11 8.931C11.202 8.868 11.367 8.762 11.495 8.612C11.832 8.22 12 7.516 12 6.5C12 6.359 12.048 6.241 12.144 6.144C12.241 6.048 12.359 6 12.5 6L14.5 6C14.641 6 14.759 6.048 14.856 6.144ZM9.986 7.132C9.976 6.699 9.96 6.333 9.939 6.036C9.885 5.282 9.789 4.635 9.652 4.092C9.583 4.136 9.484 4.223 9.354 4.354C9.158 4.549 8.99 4.689 8.851 4.772C8.598 4.924 8.315 5 8 5C7.685 5 7.402 4.924 7.149 4.772C7.01 4.689 6.842 4.549 6.646 4.354C6.516 4.223 6.417 4.136 6.348 4.092C6.211 4.635 6.115 5.282 6.061 6.036C6.04 6.333 6.024 6.699 6.014 7.132C6.619 7.294 7.281 7.375 8 7.375C8.719 7.375 9.381 7.294 9.986 7.132ZM2.411 8.636C2.675 9.241 3.062 9.755 3.57 10.178C4.083 10.606 4.707 10.931 5.442 11.154C6.2 11.385 7.053 11.5 8 11.5C8.947 11.5 9.8 11.385 10.558 11.154C11.293 10.931 11.917 10.606 12.43 10.178C12.938 9.755 13.325 9.241 13.589 8.636C13.804 8.142 13.935 7.597 13.981 7L12.986 7C12.927 8.008 12.683 8.763 12.255 9.263C11.849 9.736 11.292 9.981 10.583 9.999C9.801 10.25 8.94 10.375 8 10.375C7.06 10.375 6.199 10.25 5.417 9.999C4.708 9.981 4.151 9.736 3.745 9.263C3.317 8.763 3.073 8.008 3.014 7L2.019 7C2.065 7.597 2.196 8.142 2.411 8.636ZM9.999 8.159C9.378 8.303 8.712 8.375 8 8.375C7.288 8.375 6.622 8.303 6.001 8.159L6 8.5L6 9.129C6.609 9.293 7.276 9.375 8 9.375C8.724 9.375 9.391 9.293 10 9.129L10 8.5L9.999 8.159Z'/%3E%3C/svg%3E
```

### Sprite

```html
<!-- Gentleface "hat-cowboy" (line-round), MIT. https://gentleface.com/icons/hat-cowboy
     Every icon of this style in one file: https://gentleface.com/sprite/line-round.svg
     Serve it from your own origin: <use> does not load from another origin. -->
<svg width="16" height="16" aria-hidden="true"><use href="/sprite/line-round.svg#hat-cowboy"/></svg>
```

### SwiftUI

```swift
// Gentleface "hat-cowboy" (line-round), MIT. https://gentleface.com/icons/hat-cowboy
import SwiftUI

struct HatCowboyIcon: Shape {
    func path(in rect: CGRect) -> Path {
        var p = Path()
        p.move(to: CGPoint(x: 14.856, y: 6.144))
        p.addCurve(to: CGPoint(x: 15, y: 6.5), control1: CGPoint(x: 14.952, y: 6.241), control2: CGPoint(x: 15, y: 6.359))
        p.addCurve(to: CGPoint(x: 14.505, y: 9.036), control1: CGPoint(x: 15, y: 7.435), control2: CGPoint(x: 14.835, y: 8.281))
        p.addCurve(to: CGPoint(x: 13.07, y: 10.947), control1: CGPoint(x: 14.178, y: 9.785), control2: CGPoint(x: 13.7, y: 10.422))
        p.addCurve(to: CGPoint(x: 10.849, y: 12.111), control1: CGPoint(x: 12.454, y: 11.46), control2: CGPoint(x: 11.713, y: 11.848))
        p.addCurve(to: CGPoint(x: 8, y: 12.5), control1: CGPoint(x: 9.996, y: 12.37), control2: CGPoint(x: 9.046, y: 12.5))
        p.addCurve(to: CGPoint(x: 5.151, y: 12.111), control1: CGPoint(x: 6.954, y: 12.5), control2: CGPoint(x: 6.004, y: 12.37))
        p.addCurve(to: CGPoint(x: 2.93, y: 10.947), control1: CGPoint(x: 4.287, y: 11.848), control2: CGPoint(x: 3.546, y: 11.46))
        p.addCurve(to: CGPoint(x: 1.495, y: 9.036), control1: CGPoint(x: 2.3, y: 10.422), control2: CGPoint(x: 1.822, y: 9.785))
        p.addCurve(to: CGPoint(x: 1, y: 6.5), control1: CGPoint(x: 1.165, y: 8.281), control2: CGPoint(x: 1, y: 7.435))
        p.addCurve(to: CGPoint(x: 1.144, y: 6.144), control1: CGPoint(x: 1, y: 6.359), control2: CGPoint(x: 1.048, y: 6.241))
        p.addCurve(to: CGPoint(x: 1.5, y: 6), control1: CGPoint(x: 1.241, y: 6.048), control2: CGPoint(x: 1.359, y: 6))
        p.addLine(to: CGPoint(x: 3.5, y: 6))
        p.addCurve(to: CGPoint(x: 3.856, y: 6.144), control1: CGPoint(x: 3.641, y: 6), control2: CGPoint(x: 3.759, y: 6.048))
        p.addCurve(to: CGPoint(x: 4, y: 6.5), control1: CGPoint(x: 3.952, y: 6.241), control2: CGPoint(x: 4, y: 6.359))
        p.addCurve(to: CGPoint(x: 4.505, y: 8.612), control1: CGPoint(x: 4, y: 7.516), control2: CGPoint(x: 4.168, y: 8.22))
        p.addCurve(to: CGPoint(x: 5, y: 8.931), control1: CGPoint(x: 4.633, y: 8.762), control2: CGPoint(x: 4.798, y: 8.868))
        p.addLine(to: CGPoint(x: 5, y: 8.5))
        p.addCurve(to: CGPoint(x: 5.064, y: 5.964), control1: CGPoint(x: 5, y: 7.405), control2: CGPoint(x: 5.021, y: 6.56))
        p.addCurve(to: CGPoint(x: 5.526, y: 3.342), control1: CGPoint(x: 5.139, y: 4.915), control2: CGPoint(x: 5.293, y: 4.041))
        p.addCurve(to: CGPoint(x: 5.707, y: 3.093), control1: CGPoint(x: 5.56, y: 3.239), control2: CGPoint(x: 5.621, y: 3.156))
        p.addCurve(to: CGPoint(x: 6, y: 3), control1: CGPoint(x: 5.793, y: 3.031), control2: CGPoint(x: 5.891, y: 3))
        p.addCurve(to: CGPoint(x: 6.851, y: 3.228), control1: CGPoint(x: 6.315, y: 3), control2: CGPoint(x: 6.598, y: 3.076))
        p.addCurve(to: CGPoint(x: 7.354, y: 3.646), control1: CGPoint(x: 6.99, y: 3.311), control2: CGPoint(x: 7.158, y: 3.451))
        p.addCurve(to: CGPoint(x: 7.663, y: 3.915), control1: CGPoint(x: 7.491, y: 3.784), control2: CGPoint(x: 7.595, y: 3.874))
        p.addCurve(to: CGPoint(x: 8, y: 4), control1: CGPoint(x: 7.758, y: 3.972), control2: CGPoint(x: 7.87, y: 4))
        p.addCurve(to: CGPoint(x: 8.337, y: 3.915), control1: CGPoint(x: 8.13, y: 4), control2: CGPoint(x: 8.242, y: 3.972))
        p.addCurve(to: CGPoint(x: 8.646, y: 3.646), control1: CGPoint(x: 8.405, y: 3.874), control2: CGPoint(x: 8.509, y: 3.784))
        p.addCurve(to: CGPoint(x: 9.149, y: 3.228), control1: CGPoint(x: 8.842, y: 3.451), control2: CGPoint(x: 9.01, y: 3.311))
        p.addCurve(to: CGPoint(x: 10, y: 3), control1: CGPoint(x: 9.402, y: 3.076), control2: CGPoint(x: 9.685, y: 3))
        p.addCurve(to: CGPoint(x: 10.293, y: 3.093), control1: CGPoint(x: 10.109, y: 3), control2: CGPoint(x: 10.207, y: 3.031))
        p.addCurve(to: CGPoint(x: 10.474, y: 3.342), control1: CGPoint(x: 10.379, y: 3.156), control2: CGPoint(x: 10.44, y: 3.239))
        p.addCurve(to: CGPoint(x: 10.936, y: 5.964), control1: CGPoint(x: 10.707, y: 4.041), control2: CGPoint(x: 10.861, y: 4.915))
        p.addCurve(to: CGPoint(x: 11, y: 8.5), control1: CGPoint(x: 10.979, y: 6.56), control2: CGPoint(x: 11, y: 7.405))
        p.addLine(to: CGPoint(x: 11, y: 8.931))
        p.addCurve(to: CGPoint(x: 11.495, y: 8.612), control1: CGPoint(x: 11.202, y: 8.868), control2: CGPoint(x: 11.367, y: 8.762))
        p.addCurve(to: CGPoint(x: 12, y: 6.5), control1: CGPoint(x: 11.832, y: 8.22), control2: CGPoint(x: 12, y: 7.516))
        p.addCurve(to: CGPoint(x: 12.144, y: 6.144), control1: CGPoint(x: 12, y: 6.359), control2: CGPoint(x: 12.048, y: 6.241))
        p.addCurve(to: CGPoint(x: 12.5, y: 6), control1: CGPoint(x: 12.241, y: 6.048), control2: CGPoint(x: 12.359, y: 6))
        p.addLine(to: CGPoint(x: 14.5, y: 6))
        p.addCurve(to: CGPoint(x: 14.856, y: 6.144), control1: CGPoint(x: 14.641, y: 6), control2: CGPoint(x: 14.759, y: 6.048))
        p.closeSubpath()
        p.move(to: CGPoint(x: 9.986, y: 7.132))
        p.addCurve(to: CGPoint(x: 9.939, y: 6.036), control1: CGPoint(x: 9.976, y: 6.699), control2: CGPoint(x: 9.96, y: 6.333))
        p.addCurve(to: CGPoint(x: 9.652, y: 4.092), control1: CGPoint(x: 9.885, y: 5.282), control2: CGPoint(x: 9.789, y: 4.635))
        p.addCurve(to: CGPoint(x: 9.354, y: 4.354), control1: CGPoint(x: 9.583, y: 4.136), control2: CGPoint(x: 9.484, y: 4.223))
        p.addCurve(to: CGPoint(x: 8.851, y: 4.772), control1: CGPoint(x: 9.158, y: 4.549), control2: CGPoint(x: 8.99, y: 4.689))
        p.addCurve(to: CGPoint(x: 8, y: 5), control1: CGPoint(x: 8.598, y: 4.924), control2: CGPoint(x: 8.315, y: 5))
        p.addCurve(to: CGPoint(x: 7.149, y: 4.772), control1: CGPoint(x: 7.685, y: 5), control2: CGPoint(x: 7.402, y: 4.924))
        p.addCurve(to: CGPoint(x: 6.646, y: 4.354), control1: CGPoint(x: 7.01, y: 4.689), control2: CGPoint(x: 6.842, y: 4.549))
        p.addCurve(to: CGPoint(x: 6.348, y: 4.092), control1: CGPoint(x: 6.516, y: 4.223), control2: CGPoint(x: 6.417, y: 4.136))
        p.addCurve(to: CGPoint(x: 6.061, y: 6.036), control1: CGPoint(x: 6.211, y: 4.635), control2: CGPoint(x: 6.115, y: 5.282))
        p.addCurve(to: CGPoint(x: 6.014, y: 7.132), control1: CGPoint(x: 6.04, y: 6.333), control2: CGPoint(x: 6.024, y: 6.699))
        p.addCurve(to: CGPoint(x: 8, y: 7.375), control1: CGPoint(x: 6.619, y: 7.294), control2: CGPoint(x: 7.281, y: 7.375))
        p.addCurve(to: CGPoint(x: 9.986, y: 7.132), control1: CGPoint(x: 8.719, y: 7.375), control2: CGPoint(x: 9.381, y: 7.294))
        p.closeSubpath()
        p.move(to: CGPoint(x: 2.411, y: 8.636))
        p.addCurve(to: CGPoint(x: 3.57, y: 10.178), control1: CGPoint(x: 2.675, y: 9.241), control2: CGPoint(x: 3.062, y: 9.755))
        p.addCurve(to: CGPoint(x: 5.442, y: 11.154), control1: CGPoint(x: 4.083, y: 10.606), control2: CGPoint(x: 4.707, y: 10.931))
        p.addCurve(to: CGPoint(x: 8, y: 11.5), control1: CGPoint(x: 6.2, y: 11.385), control2: CGPoint(x: 7.053, y: 11.5))
        p.addCurve(to: CGPoint(x: 10.558, y: 11.154), control1: CGPoint(x: 8.947, y: 11.5), control2: CGPoint(x: 9.8, y: 11.385))
        p.addCurve(to: CGPoint(x: 12.43, y: 10.178), control1: CGPoint(x: 11.293, y: 10.931), control2: CGPoint(x: 11.917, y: 10.606))
        p.addCurve(to: CGPoint(x: 13.589, y: 8.636), control1: CGPoint(x: 12.938, y: 9.755), control2: CGPoint(x: 13.325, y: 9.241))
        p.addCurve(to: CGPoint(x: 13.981, y: 7), control1: CGPoint(x: 13.804, y: 8.142), control2: CGPoint(x: 13.935, y: 7.597))
        p.addLine(to: CGPoint(x: 12.986, y: 7))
        p.addCurve(to: CGPoint(x: 12.255, y: 9.263), control1: CGPoint(x: 12.927, y: 8.008), control2: CGPoint(x: 12.683, y: 8.763))
        p.addCurve(to: CGPoint(x: 10.583, y: 9.999), control1: CGPoint(x: 11.849, y: 9.736), control2: CGPoint(x: 11.292, y: 9.981))
        p.addCurve(to: CGPoint(x: 8, y: 10.375), control1: CGPoint(x: 9.801, y: 10.25), control2: CGPoint(x: 8.94, y: 10.375))
        p.addCurve(to: CGPoint(x: 5.417, y: 9.999), control1: CGPoint(x: 7.06, y: 10.375), control2: CGPoint(x: 6.199, y: 10.25))
        p.addCurve(to: CGPoint(x: 3.745, y: 9.263), control1: CGPoint(x: 4.708, y: 9.981), control2: CGPoint(x: 4.151, y: 9.736))
        p.addCurve(to: CGPoint(x: 3.014, y: 7), control1: CGPoint(x: 3.317, y: 8.763), control2: CGPoint(x: 3.073, y: 8.008))
        p.addLine(to: CGPoint(x: 2.019, y: 7))
        p.addCurve(to: CGPoint(x: 2.411, y: 8.636), control1: CGPoint(x: 2.065, y: 7.597), control2: CGPoint(x: 2.196, y: 8.142))
        p.closeSubpath()
        p.move(to: CGPoint(x: 9.999, y: 8.159))
        p.addCurve(to: CGPoint(x: 8, y: 8.375), control1: CGPoint(x: 9.378, y: 8.303), control2: CGPoint(x: 8.712, y: 8.375))
        p.addCurve(to: CGPoint(x: 6.001, y: 8.159), control1: CGPoint(x: 7.288, y: 8.375), control2: CGPoint(x: 6.622, y: 8.303))
        p.addLine(to: CGPoint(x: 6, y: 8.5))
        p.addLine(to: CGPoint(x: 6, y: 9.129))
        p.addCurve(to: CGPoint(x: 8, y: 9.375), control1: CGPoint(x: 6.609, y: 9.293), control2: CGPoint(x: 7.276, y: 9.375))
        p.addCurve(to: CGPoint(x: 10, y: 9.129), control1: CGPoint(x: 8.724, y: 9.375), control2: CGPoint(x: 9.391, y: 9.293))
        p.addLine(to: CGPoint(x: 10, y: 8.5))
        p.addLine(to: CGPoint(x: 9.999, y: 8.159))
        p.closeSubpath()
        return p.applying(CGAffineTransform(scaleX: rect.width / 16, y: rect.height / 16))
    }
}

// HatCowboyIcon().frame(width: 16, height: 16) fills with the foreground style. Keep it on whole points to stay crisp.
```

### Compose

```kotlin
// Gentleface "hat-cowboy" (line-round), MIT. https://gentleface.com/icons/hat-cowboy
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.vector.ImageVector
import androidx.compose.ui.graphics.vector.addPathNodes
import androidx.compose.ui.unit.dp

val HatCowboyIcon: ImageVector by lazy {
    ImageVector.Builder(
        name = "hat-cowboy", defaultWidth = 16.dp, defaultHeight = 16.dp,
        viewportWidth = 16f, viewportHeight = 16f,
    ).addPath(
        pathData = addPathNodes("M14.856 6.144C14.952 6.241 15 6.359 15 6.5C15 7.435 14.835 8.281 14.505 9.036C14.178 9.785 13.7 10.422 13.07 10.947C12.454 11.46 11.713 11.848 10.849 12.111C9.996 12.37 9.046 12.5 8 12.5C6.954 12.5 6.004 12.37 5.151 12.111C4.287 11.848 3.546 11.46 2.93 10.947C2.3 10.422 1.822 9.785 1.495 9.036C1.165 8.281 1 7.435 1 6.5C1 6.359 1.048 6.241 1.144 6.144C1.241 6.048 1.359 6 1.5 6L3.5 6C3.641 6 3.759 6.048 3.856 6.144C3.952 6.241 4 6.359 4 6.5C4 7.516 4.168 8.22 4.505 8.612C4.633 8.762 4.798 8.868 5 8.931L5 8.5C5 7.405 5.021 6.56 5.064 5.964C5.139 4.915 5.293 4.041 5.526 3.342C5.56 3.239 5.621 3.156 5.707 3.093C5.793 3.031 5.891 3 6 3C6.315 3 6.598 3.076 6.851 3.228C6.99 3.311 7.158 3.451 7.354 3.646C7.491 3.784 7.595 3.874 7.663 3.915C7.758 3.972 7.87 4 8 4C8.13 4 8.242 3.972 8.337 3.915C8.405 3.874 8.509 3.784 8.646 3.646C8.842 3.451 9.01 3.311 9.149 3.228C9.402 3.076 9.685 3 10 3C10.109 3 10.207 3.031 10.293 3.093C10.379 3.156 10.44 3.239 10.474 3.342C10.707 4.041 10.861 4.915 10.936 5.964C10.979 6.56 11 7.405 11 8.5L11 8.931C11.202 8.868 11.367 8.762 11.495 8.612C11.832 8.22 12 7.516 12 6.5C12 6.359 12.048 6.241 12.144 6.144C12.241 6.048 12.359 6 12.5 6L14.5 6C14.641 6 14.759 6.048 14.856 6.144ZM9.986 7.132C9.976 6.699 9.96 6.333 9.939 6.036C9.885 5.282 9.789 4.635 9.652 4.092C9.583 4.136 9.484 4.223 9.354 4.354C9.158 4.549 8.99 4.689 8.851 4.772C8.598 4.924 8.315 5 8 5C7.685 5 7.402 4.924 7.149 4.772C7.01 4.689 6.842 4.549 6.646 4.354C6.516 4.223 6.417 4.136 6.348 4.092C6.211 4.635 6.115 5.282 6.061 6.036C6.04 6.333 6.024 6.699 6.014 7.132C6.619 7.294 7.281 7.375 8 7.375C8.719 7.375 9.381 7.294 9.986 7.132ZM2.411 8.636C2.675 9.241 3.062 9.755 3.57 10.178C4.083 10.606 4.707 10.931 5.442 11.154C6.2 11.385 7.053 11.5 8 11.5C8.947 11.5 9.8 11.385 10.558 11.154C11.293 10.931 11.917 10.606 12.43 10.178C12.938 9.755 13.325 9.241 13.589 8.636C13.804 8.142 13.935 7.597 13.981 7L12.986 7C12.927 8.008 12.683 8.763 12.255 9.263C11.849 9.736 11.292 9.981 10.583 9.999C9.801 10.25 8.94 10.375 8 10.375C7.06 10.375 6.199 10.25 5.417 9.999C4.708 9.981 4.151 9.736 3.745 9.263C3.317 8.763 3.073 8.008 3.014 7L2.019 7C2.065 7.597 2.196 8.142 2.411 8.636ZM9.999 8.159C9.378 8.303 8.712 8.375 8 8.375C7.288 8.375 6.622 8.303 6.001 8.159L6 8.5L6 9.129C6.609 9.293 7.276 9.375 8 9.375C8.724 9.375 9.391 9.293 10 9.129L10 8.5L9.999 8.159Z"),
        fill = SolidColor(Color.Black),
    ).build()
}

// Icon(HatCowboyIcon, contentDescription = null) tints it with LocalContentColor.
```

### Android XML

```xml
<!-- res/drawable/ic_hat_cowboy.xml · Gentleface "hat-cowboy" (line-round), MIT. https://gentleface.com/icons/hat-cowboy -->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
    android:width="16dp"
    android:height="16dp"
    android:viewportWidth="16"
    android:viewportHeight="16"
    android:tint="?attr/colorControlNormal">
  <path
      android:fillColor="@android:color/white"
      android:pathData="M14.856 6.144C14.952 6.241 15 6.359 15 6.5C15 7.435 14.835 8.281 14.505 9.036C14.178 9.785 13.7 10.422 13.07 10.947C12.454 11.46 11.713 11.848 10.849 12.111C9.996 12.37 9.046 12.5 8 12.5C6.954 12.5 6.004 12.37 5.151 12.111C4.287 11.848 3.546 11.46 2.93 10.947C2.3 10.422 1.822 9.785 1.495 9.036C1.165 8.281 1 7.435 1 6.5C1 6.359 1.048 6.241 1.144 6.144C1.241 6.048 1.359 6 1.5 6L3.5 6C3.641 6 3.759 6.048 3.856 6.144C3.952 6.241 4 6.359 4 6.5C4 7.516 4.168 8.22 4.505 8.612C4.633 8.762 4.798 8.868 5 8.931L5 8.5C5 7.405 5.021 6.56 5.064 5.964C5.139 4.915 5.293 4.041 5.526 3.342C5.56 3.239 5.621 3.156 5.707 3.093C5.793 3.031 5.891 3 6 3C6.315 3 6.598 3.076 6.851 3.228C6.99 3.311 7.158 3.451 7.354 3.646C7.491 3.784 7.595 3.874 7.663 3.915C7.758 3.972 7.87 4 8 4C8.13 4 8.242 3.972 8.337 3.915C8.405 3.874 8.509 3.784 8.646 3.646C8.842 3.451 9.01 3.311 9.149 3.228C9.402 3.076 9.685 3 10 3C10.109 3 10.207 3.031 10.293 3.093C10.379 3.156 10.44 3.239 10.474 3.342C10.707 4.041 10.861 4.915 10.936 5.964C10.979 6.56 11 7.405 11 8.5L11 8.931C11.202 8.868 11.367 8.762 11.495 8.612C11.832 8.22 12 7.516 12 6.5C12 6.359 12.048 6.241 12.144 6.144C12.241 6.048 12.359 6 12.5 6L14.5 6C14.641 6 14.759 6.048 14.856 6.144ZM9.986 7.132C9.976 6.699 9.96 6.333 9.939 6.036C9.885 5.282 9.789 4.635 9.652 4.092C9.583 4.136 9.484 4.223 9.354 4.354C9.158 4.549 8.99 4.689 8.851 4.772C8.598 4.924 8.315 5 8 5C7.685 5 7.402 4.924 7.149 4.772C7.01 4.689 6.842 4.549 6.646 4.354C6.516 4.223 6.417 4.136 6.348 4.092C6.211 4.635 6.115 5.282 6.061 6.036C6.04 6.333 6.024 6.699 6.014 7.132C6.619 7.294 7.281 7.375 8 7.375C8.719 7.375 9.381 7.294 9.986 7.132ZM2.411 8.636C2.675 9.241 3.062 9.755 3.57 10.178C4.083 10.606 4.707 10.931 5.442 11.154C6.2 11.385 7.053 11.5 8 11.5C8.947 11.5 9.8 11.385 10.558 11.154C11.293 10.931 11.917 10.606 12.43 10.178C12.938 9.755 13.325 9.241 13.589 8.636C13.804 8.142 13.935 7.597 13.981 7L12.986 7C12.927 8.008 12.683 8.763 12.255 9.263C11.849 9.736 11.292 9.981 10.583 9.999C9.801 10.25 8.94 10.375 8 10.375C7.06 10.375 6.199 10.25 5.417 9.999C4.708 9.981 4.151 9.736 3.745 9.263C3.317 8.763 3.073 8.008 3.014 7L2.019 7C2.065 7.597 2.196 8.142 2.411 8.636ZM9.999 8.159C9.378 8.303 8.712 8.375 8 8.375C7.288 8.375 6.622 8.303 6.001 8.159L6 8.5L6 9.129C6.609 9.293 7.276 9.375 8 9.375C8.724 9.375 9.391 9.293 10 9.129L10 8.5L9.999 8.159Z"/>
</vector>
```

### Flutter

```dart
// Gentleface "hat-cowboy" (line-round), MIT. https://gentleface.com/icons/hat-cowboy
import 'package:flutter/widgets.dart';

class HatCowboyIcon extends StatelessWidget {
  const HatCowboyIcon({super.key, this.size = 16, this.color});
  final double size;
  final Color? color;

  @override
  Widget build(BuildContext context) => CustomPaint(
        size: Size.square(size),
        painter: _HatCowboyIconPainter(color ?? IconTheme.of(context).color ?? const Color(0xFF000000)),
      );
}

class _HatCowboyIconPainter extends CustomPainter {
  _HatCowboyIconPainter(this.color);
  final Color color;

  @override
  void paint(Canvas canvas, Size size) {
    canvas.scale(size.width / 16, size.height / 16);
    final p = Path()
      ..moveTo(14.856, 6.144)
      ..cubicTo(14.952, 6.241, 15, 6.359, 15, 6.5)
      ..cubicTo(15, 7.435, 14.835, 8.281, 14.505, 9.036)
      ..cubicTo(14.178, 9.785, 13.7, 10.422, 13.07, 10.947)
      ..cubicTo(12.454, 11.46, 11.713, 11.848, 10.849, 12.111)
      ..cubicTo(9.996, 12.37, 9.046, 12.5, 8, 12.5)
      ..cubicTo(6.954, 12.5, 6.004, 12.37, 5.151, 12.111)
      ..cubicTo(4.287, 11.848, 3.546, 11.46, 2.93, 10.947)
      ..cubicTo(2.3, 10.422, 1.822, 9.785, 1.495, 9.036)
      ..cubicTo(1.165, 8.281, 1, 7.435, 1, 6.5)
      ..cubicTo(1, 6.359, 1.048, 6.241, 1.144, 6.144)
      ..cubicTo(1.241, 6.048, 1.359, 6, 1.5, 6)
      ..lineTo(3.5, 6)
      ..cubicTo(3.641, 6, 3.759, 6.048, 3.856, 6.144)
      ..cubicTo(3.952, 6.241, 4, 6.359, 4, 6.5)
      ..cubicTo(4, 7.516, 4.168, 8.22, 4.505, 8.612)
      ..cubicTo(4.633, 8.762, 4.798, 8.868, 5, 8.931)
      ..lineTo(5, 8.5)
      ..cubicTo(5, 7.405, 5.021, 6.56, 5.064, 5.964)
      ..cubicTo(5.139, 4.915, 5.293, 4.041, 5.526, 3.342)
      ..cubicTo(5.56, 3.239, 5.621, 3.156, 5.707, 3.093)
      ..cubicTo(5.793, 3.031, 5.891, 3, 6, 3)
      ..cubicTo(6.315, 3, 6.598, 3.076, 6.851, 3.228)
      ..cubicTo(6.99, 3.311, 7.158, 3.451, 7.354, 3.646)
      ..cubicTo(7.491, 3.784, 7.595, 3.874, 7.663, 3.915)
      ..cubicTo(7.758, 3.972, 7.87, 4, 8, 4)
      ..cubicTo(8.13, 4, 8.242, 3.972, 8.337, 3.915)
      ..cubicTo(8.405, 3.874, 8.509, 3.784, 8.646, 3.646)
      ..cubicTo(8.842, 3.451, 9.01, 3.311, 9.149, 3.228)
      ..cubicTo(9.402, 3.076, 9.685, 3, 10, 3)
      ..cubicTo(10.109, 3, 10.207, 3.031, 10.293, 3.093)
      ..cubicTo(10.379, 3.156, 10.44, 3.239, 10.474, 3.342)
      ..cubicTo(10.707, 4.041, 10.861, 4.915, 10.936, 5.964)
      ..cubicTo(10.979, 6.56, 11, 7.405, 11, 8.5)
      ..lineTo(11, 8.931)
      ..cubicTo(11.202, 8.868, 11.367, 8.762, 11.495, 8.612)
      ..cubicTo(11.832, 8.22, 12, 7.516, 12, 6.5)
      ..cubicTo(12, 6.359, 12.048, 6.241, 12.144, 6.144)
      ..cubicTo(12.241, 6.048, 12.359, 6, 12.5, 6)
      ..lineTo(14.5, 6)
      ..cubicTo(14.641, 6, 14.759, 6.048, 14.856, 6.144)
      ..close()
      ..moveTo(9.986, 7.132)
      ..cubicTo(9.976, 6.699, 9.96, 6.333, 9.939, 6.036)
      ..cubicTo(9.885, 5.282, 9.789, 4.635, 9.652, 4.092)
      ..cubicTo(9.583, 4.136, 9.484, 4.223, 9.354, 4.354)
      ..cubicTo(9.158, 4.549, 8.99, 4.689, 8.851, 4.772)
      ..cubicTo(8.598, 4.924, 8.315, 5, 8, 5)
      ..cubicTo(7.685, 5, 7.402, 4.924, 7.149, 4.772)
      ..cubicTo(7.01, 4.689, 6.842, 4.549, 6.646, 4.354)
      ..cubicTo(6.516, 4.223, 6.417, 4.136, 6.348, 4.092)
      ..cubicTo(6.211, 4.635, 6.115, 5.282, 6.061, 6.036)
      ..cubicTo(6.04, 6.333, 6.024, 6.699, 6.014, 7.132)
      ..cubicTo(6.619, 7.294, 7.281, 7.375, 8, 7.375)
      ..cubicTo(8.719, 7.375, 9.381, 7.294, 9.986, 7.132)
      ..close()
      ..moveTo(2.411, 8.636)
      ..cubicTo(2.675, 9.241, 3.062, 9.755, 3.57, 10.178)
      ..cubicTo(4.083, 10.606, 4.707, 10.931, 5.442, 11.154)
      ..cubicTo(6.2, 11.385, 7.053, 11.5, 8, 11.5)
      ..cubicTo(8.947, 11.5, 9.8, 11.385, 10.558, 11.154)
      ..cubicTo(11.293, 10.931, 11.917, 10.606, 12.43, 10.178)
      ..cubicTo(12.938, 9.755, 13.325, 9.241, 13.589, 8.636)
      ..cubicTo(13.804, 8.142, 13.935, 7.597, 13.981, 7)
      ..lineTo(12.986, 7)
      ..cubicTo(12.927, 8.008, 12.683, 8.763, 12.255, 9.263)
      ..cubicTo(11.849, 9.736, 11.292, 9.981, 10.583, 9.999)
      ..cubicTo(9.801, 10.25, 8.94, 10.375, 8, 10.375)
      ..cubicTo(7.06, 10.375, 6.199, 10.25, 5.417, 9.999)
      ..cubicTo(4.708, 9.981, 4.151, 9.736, 3.745, 9.263)
      ..cubicTo(3.317, 8.763, 3.073, 8.008, 3.014, 7)
      ..lineTo(2.019, 7)
      ..cubicTo(2.065, 7.597, 2.196, 8.142, 2.411, 8.636)
      ..close()
      ..moveTo(9.999, 8.159)
      ..cubicTo(9.378, 8.303, 8.712, 8.375, 8, 8.375)
      ..cubicTo(7.288, 8.375, 6.622, 8.303, 6.001, 8.159)
      ..lineTo(6, 8.5)
      ..lineTo(6, 9.129)
      ..cubicTo(6.609, 9.293, 7.276, 9.375, 8, 9.375)
      ..cubicTo(8.724, 9.375, 9.391, 9.293, 10, 9.129)
      ..lineTo(10, 8.5)
      ..lineTo(9.999, 8.159)
      ..close();
    canvas.drawPath(p, Paint()..color = color);
  }

  @override
  bool shouldRepaint(_HatCowboyIconPainter old) => old.color != color;
}
```
