ElectronSystemPreferences.getSystemColor method
ElectronSystemPreferences › getSystemColor
Unofficial
Returns one of several standard system colors that automatically adapt to vibrancy and changes in accessibility settings. The standard system color is formatted as#RRGGBBAA. Signature:
getSystemColor(color: "blue" | "brown" | "gray" | "green" | "orange" | "pink" | "purple" | "red" | "yellow"): stringParameters:
| Parameter | Type | Description |
|---|---|---|
| color | "blue" | "brown" | "gray" | "green" | "orange" | "pink" | "purple" | "red" | "yellow" | The named standard system color to look up. |
Returns: string — The standard system color formatted as #RRGGBBAA.
Platform: darwin.