PageSourceSearch

https://fwhy.github.io/faker-docs/assets/color_name.html-XkL1LgP1.js

js fwhy.github.io collected 2026-10-03 09:14:03 UTC 4,494 bytes, 6 lines download raw bytes

1import{_ as n,c as s,a as t,o as e}from"./app-Du1u7NE4.js";const o={};function p(c,a){return e(),s("div",null,a[0]||(a[0]=[t(`<h1 id="colorname" tabindex="-1"><a class="header-anchor" href="#colorname"><span>colorName</span></a></h1><div class="language-php" data-highlighter="prismjs" data-ext="php"><pre><code class="language-php"><span class="line"><span class="token function">colorName</span><span class="token punctuation">(</span><span class="token punctuation">)</span> <span class="token punctuation">:</span><span class="token keyword return-type">string</span></span>
2<span class="line"></span></code></pre></div><p>🇯🇵 🇺🇸<br> CSSフレンドリーな色名を生成します。</p><h2 id="パラメータ" tabindex="-1"><a class="header-anchor" href="#パラメータ"><span>パラメータ</span></a></h2><p>なし</p><h2 id="例" tabindex="-1"><a class="header-anchor" href="#例"><span>例</span></a></h2><div class="language-php" data-highlighter="prismjs" data-ext="php"><pre><code class="language-php"><span class="line"><span class="token operator">&gt;&gt;</span><span class="token operator">&gt;</span> <span class="token class-name class-name-fully-qualified static-context">Faker<span class="token punctuation">\\</span>Factory</span><span class="token operator">::</span><span class="token function">create</span><span class="token punctuation">(</span><span class="token string single-quoted-string">&#39;ja_JP&#39;</span><span class="token punctuation">)</span><span class="token operator">-&gt;</span><span class="token function">colorName</span><span class="token punctuation">(</span><span class="token punctuation">)</span></span>
3<span class="line"><span class="token operator">=&gt;</span> <span class="token string double-quoted-string">&quot;DarkTurquoise&quot;</span></span>
4<span class="line"><span class="token operator">&gt;&gt;</span><span class="token operator">&gt;</span> <span class="token class-name class-name-fully-qualified static-context">Faker<span class="token punctuation">\\</span>Factory</span><span class="token operator">::</span><span class="token function">create</span><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token operator">-&gt;</span><span class="token function">colorName</span><span class="token punctuation">(</span><span class="token punctuation">)</span></span>
5<span class="line"><span class="token operator">=&gt;</span> <span class="token string double-quoted-string">&quot;MediumSpringGreen&quot;</span></span>
6<span class="line"></span></code></pre></div>`,7)]))}const l=n(o,[["render",p]]),i=JSON.parse('{"path":"/formatters/color/color_name.html","title":"colorName","lang":"ja","frontmatter":{"description":"colorName 🇯🇵 🇺🇸 CSSフレンドリーな色名を生成します。 パラメータ なし 例","head":[["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"colorName\\",\\"image\\":[\\"/faker-docs/images/logo310.png\\"],\\"dateModified\\":\\"2021-07-25T12:15:17.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"Fullwidth Hyphen\\",\\"url\\":\\"https://blare.fwhy.app/about/\\"}]}"],["meta",{"property":"og:url","content":"https://fwhy.github.io/faker-docs/formatters/color/color_name.html"}],["meta",{"property":"og:site_name","content":"FakerPHP非公式リファレンス"}],["meta",{"property":"og:title","content":"colorName"}],["meta",{"property":"og:description","content":"colorName 🇯🇵 🇺🇸 CSSフレンドリーな色名を生成します。 パラメータ なし 例"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:image","content":"/faker-docs/images/logo310.png"}],["meta",{"property":"og:locale","content":"ja"}],["meta",{"property":"og:updated_time","content":"2021-07-25T12:15:17.000Z"}],["meta",{"property":"article:modified_time","content":"2021-07-25T12:15:17.000Z"}],["link",{"rel":"canonical","href":"/faker-docs/formatters/color/color_name.html"}]]},"git":{"updatedTime":1627215317000,"contributors":[{"name":"fwhy","username":"fwhy","email":"[email protected]","commits":1,"url":"https://github.com/fwhy"}],"changelog":[{"hash":"8587ab7e666298c82ab479958c318f2674f45180","time":1627215317000,"email":"[email protected]","author":"fwhy","message":"add color"}]},"filePathRelative":"formatters/color/color_name.md","autoDesc":true}');export{l as comp,i as data};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.