Home / Function/ hslaColorToString() — react Function Reference

hslaColorToString() — react Function Reference

Architecture documentation for the hslaColorToString() function in colors.js from the react codebase.

Entity Profile

Dependency Diagram

graph TD
  90ccfbcc_a5d2_19f7_e6e6_57b8c9f13294["hslaColorToString()"]
  e8b75ea1_4270_75d6_defb_16c2f1811aef["colors.js"]
  90ccfbcc_a5d2_19f7_e6e6_57b8c9f13294 -->|defined in| e8b75ea1_4270_75d6_defb_16c2f1811aef
  27ff608f_2e99_f3c6_cd4b_807b59dd9c00["defaultColorForStackFrame()"]
  27ff608f_2e99_f3c6_cd4b_807b59dd9c00 -->|calls| 90ccfbcc_a5d2_19f7_e6e6_57b8c9f13294
  6b09eb7a_abf1_f1ac_4ba4_390e5df5a286["hoverColorForStackFrame()"]
  6b09eb7a_abf1_f1ac_4ba4_390e5df5a286 -->|calls| 90ccfbcc_a5d2_19f7_e6e6_57b8c9f13294
  style 90ccfbcc_a5d2_19f7_e6e6_57b8c9f13294 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/react-devtools-timeline/src/content-views/utils/colors.js lines 24–26

export function hslaColorToString({h, s, l, a}: HslaColor): string {
  return `hsl(${h}deg ${s}% ${l}% / ${a})`;
}

Domain

Subdomains

Frequently Asked Questions

What does hslaColorToString() do?
hslaColorToString() is a function in the react codebase, defined in packages/react-devtools-timeline/src/content-views/utils/colors.js.
Where is hslaColorToString() defined?
hslaColorToString() is defined in packages/react-devtools-timeline/src/content-views/utils/colors.js at line 24.
What calls hslaColorToString()?
hslaColorToString() is called by 2 function(s): defaultColorForStackFrame, hoverColorForStackFrame.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free