Cowboy Hat Face icon
streamline-emojis:cowboy-hat-face
The Cowboy Hat Face icon (streamline-emojis:cowboy-hat-face) is a free SVG icon from the Streamline Emojis set by Streamline. It is drawn on a 48 × 48 grid. Streamline Emojis icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- Streamline Emojis
- Author
- Streamline
- License
- CC-BY-4.0
- Size
- 48 × 48
- Category
- Smiley People
- Tags
- cowboyhat, hatface, cowboyhatface
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48"><path fill="#45413c" d="M12 45.5a12 1.5 0 1 0 24 0a12 1.5 0 1 0-24 0" opacity=".15"/><path fill="#f0d5a8" d="M24 28.62C5.62 28.62-2 20 2.24 14.11C5.93 9 13.36 17 24 17s18.07-8 21.76-2.9C50 20 42.38 28.62 24 28.62"/><path fill="#debb7e" d="M44.23 12.78C40.2 10.83 33.33 17 24 17S7.8 10.83 3.77 12.78C.62 18.16 7.67 25.58 24 25.58s23.38-7.42 20.23-12.8"/><path fill="none" stroke="#45413c" stroke-linecap="round" stroke-linejoin="round" d="M24 28.62C5.62 28.62-2 20 2.24 14.11C5.93 9 13.36 17 24 17s18.07-8 21.76-2.9C50 20 42.38 28.62 24 28.62"/><path fill="#ffe500" d="M9.49 24.99a14.51 14.51 0 1 0 29.02 0a14.51 14.51 0 1 0-29.02 0"/><path fill="#ebcb00" d="M11.8 17.14A31.5 31.5 0 0 0 24 20a31.5 31.5 0 0 0 12.2-2.86a14.52 14.52 0 0 0-24.4 0"/><path fill="#ebcb00" d="M24 10.49A14.51 14.51 0 1 0 38.51 25A14.51 14.51 0 0 0 24 10.49m0 26.83a13.24 13.24 0 1 1 13.24-13.23A13.23 13.23 0 0 1 24 37.32"/><path fill="none" stroke="#45413c" stroke-linecap="round" stroke-linejoin="round" d="M9.49 24.99a14.51 14.51 0 1 0 29.02 0a14.51 14.51 0 1 0-29.02 0"/><path fill="#ffaa54" d="M34.52 28.62c0 .6-.81 1.09-1.82 1.09s-1.81-.49-1.81-1.09s.81-1.09 1.81-1.09s1.82.47 1.82 1.09m-21.04 0c0 .6.81 1.09 1.82 1.09s1.81-.49 1.81-1.09s-.81-1.09-1.81-1.09s-1.82.47-1.82 1.09"/><path fill="#45413c" stroke="#45413c" stroke-linecap="round" stroke-linejoin="round" d="M17.11 24.27a.73.73 0 0 1-.73.72a.72.72 0 0 1-.72-.72a.73.73 0 0 1 .72-.73a.73.73 0 0 1 .73.73m13.78 0a.73.73 0 0 0 .73.72a.72.72 0 0 0 .72-.72a.73.73 0 0 0-.72-.73a.73.73 0 0 0-.73.73"/><path fill="#ffb0ca" stroke="#45413c" stroke-linecap="round" stroke-linejoin="round" d="M24 37.32a7.9 7.9 0 0 0 8-6.64a.7.7 0 0 0-.23-.62a.76.76 0 0 0-.65-.19a45 45 0 0 1-14.18 0a.76.76 0 0 0-.65.19a.7.7 0 0 0-.23.62A7.9 7.9 0 0 0 24 37.32"/><path fill="#ff87af" stroke="#45413c" stroke-linecap="round" stroke-linejoin="round" d="M24 33.7a12.9 12.9 0 0 0-5.85 1.22a8.33 8.33 0 0 0 11.7 0A12.9 12.9 0 0 0 24 33.7"/><path fill="#b89558" d="M24 17a30.6 30.6 0 0 0 11-2.42l-2-6.52A3.9 3.9 0 0 0 31.67 6l-2.56-2.11a1.91 1.91 0 0 0-2.21-.12A5 5 0 0 1 24 4.85a5 5 0 0 1-2.9-1.08a1.91 1.91 0 0 0-2.21.12L16.33 6A3.9 3.9 0 0 0 15 8.06l-2 6.53A30.6 30.6 0 0 0 24 17"/><path fill="#debb7e" d="m15.44 8.56l2.86-2.09a2.32 2.32 0 0 1 2.46-.12A6 6 0 0 0 24 7.44a6 6 0 0 0 3.24-1.09a2.32 2.32 0 0 1 2.46.12l2.86 2.09a4.1 4.1 0 0 1 .87.84L33 8.06A3.9 3.9 0 0 0 31.67 6l-2.56-2.11a1.91 1.91 0 0 0-2.21-.12A5 5 0 0 1 24 4.85a5 5 0 0 1-2.9-1.08a1.91 1.91 0 0 0-2.21.12L16.33 6A3.9 3.9 0 0 0 15 8.06l-.43 1.34a4.1 4.1 0 0 1 .87-.84"/><path fill="none" stroke="#45413c" stroke-linecap="round" stroke-linejoin="round" d="M24 17a30.6 30.6 0 0 0 11-2.42l-2-6.52A3.9 3.9 0 0 0 31.67 6l-2.56-2.11a1.91 1.91 0 0 0-2.21-.12A5 5 0 0 1 24 4.85a5 5 0 0 1-2.9-1.08a1.91 1.91 0 0 0-2.21.12L16.33 6A3.9 3.9 0 0 0 15 8.06l-2 6.53A30.6 30.6 0 0 0 24 17"/></svg>How to use the Cowboy Hat Face icon
React
import { Icon } from "@iconify/react";
<Icon icon="streamline-emojis:cowboy-hat-face" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="streamline-emojis:cowboy-hat-face" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="streamline-emojis:cowboy-hat-face" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[streamline-emojis--cowboy-hat-face]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/streamline-emojis -->
<div class="i-streamline-emojis:cowboy-hat-face"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="streamline-emojis:cowboy-hat-face"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/streamline-emojis/cowboy-hat-face.svg" alt="Cowboy Hat Face icon" width="24" height="24">Cowboy Hat Face icon in other icon sets
Cowboy Hat Face icon FAQ
Is the Cowboy Hat Face icon free for commercial use?
Yes. Streamline Emojis icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author.
How do I use the Cowboy Hat Face icon in React?
Install @iconify/react and render <Icon icon="streamline-emojis:cowboy-hat-face" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Cowboy Hat Face icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/streamline-emojis/cowboy-hat-face.svg" alt="Cowboy Hat Face icon">, or paste the SVG code inline to style it with CSS.