PageSourceSearch

https://www.sigmajs.org/assets/js/9f8d73cf.856c6383.js

js sigmajs.org collected 2026-09-24 20:39:13 UTC 2,814 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_sigma_website=self.webpackChunk_sigma_website||[]).push([[2499],{8319:(e,s,t)=>{t.r(s),t.d(s,{assets:()=>a,contentTitle:()=>i,default:()=>u,frontMatter:()=>c,metadata:()=>r,toc:()=>l});const r=JSON.parse('{"id":"typedoc/sigma/src/utils/functions/parseColor","title":"Function: parseColor()","description":"parseColor(val): RGBAColor","source":"@site/docs/typedoc/sigma/src/utils/functions/parseColor.md","sourceDirName":"typedoc/sigma/src/utils/functions","slug":"/typedoc/sigma/src/utils/functions/parseColor","permalink":"/docs/typedoc/sigma/src/utils/functions/parseColor","draft":false,"unlisted":false,"editUrl":"https://github.com/jacomyal/sigma.js/tree/main/packages/website/docs/typedoc/sigma/src/utils/functions/parseColor.md","tags":[],"version":"current","frontMatter":{},"sidebar":"sigmaDocSidebar","previous":{"title":"multiplyVec2","permalink":"/docs/typedoc/sigma/src/utils/functions/multiplyVec2"},"next":{"title":"quadraticIn","permalink":"/docs/typedoc/sigma/src/utils/functions/quadraticIn"}}');var n=t(1085),o=t(1184);const c={},i="Function: parseColor()",a={},l=[{value:"Parameters",id:"parameters",level:2},{value:"val",id:"val",level:3},{value:"Returns",id:"returns",level:2}];function d(e){const s={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",h3:"h3",header:"header",p:"p",strong:"strong",...(0,o.R)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(s.header,{children:(0,n.jsx)(s.h1,{id:"function-parsecolor",children:"Function: parseColor()"})}),"\n",(0,n.jsxs)(s.blockquote,{children:["\n",(0,n.jsxs)(s.p,{children:[(0,n.jsx)(s.strong,{children:"parseColor"}),"(",(0,n.jsx)(s.code,{children:"val"}),"): ",(0,n.jsx)(s.code,{children:"RGBAColor"})]}),"\n"]}),"\n",(0,n.jsxs)(s.p,{children:["Defined in: ",(0,n.jsx)(s.a,{href:"https://github.com/jacomyal/sigma.js/blob/d32c4e5bfd4c5f49724ebc21bd786b01be555dac/packages/sigma/src/utils/colors.ts#L176",children:"sigma/src/utils/colors.ts:176"})]}),"\n",(0,n.jsx)(s.h2,{id:"parameters",children:"Parameters"}),"\n",(0,n.jsx)(s.h3,{id:"val",children:"val"}),"\n",(0,n.jsx)(s.p,{children:(0,n.jsx)(s.code,{children:"string"})}),"\n",(0,n.jsx)(s.h2,{id:"returns",children:"Returns"}),"\n",(0,n.jsx)(s.p,{children:(0,n.jsx)(s.code,{children:"RGBAColor"})})]})}function u(e={}){const{wrapper:s}={...(0,o.R)(),...e.components};return s?(0,n.jsx)(s,{...e,children:(0,n.jsx)(d,{...e})}):d(e)}},1184:(e,s,t)=>{t.d(s,{R:()=>c,x:()=>i});var r=t(4041);const n={},o=r.createContext(n);function c(e){const s=r.useContext(o);return r.useMemo((function(){return"function"==typeof e?e(s):{...s,...e}}),[s,e])}function i(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(n):e.components||n:c(e.components),r.createElement(o.Provider,{value:s},e.children)}}}]);

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.