ColorRGBColorSpace
A profile that specifies how to interpret a color value for display.
Declaration
type ColorRGBColorSpace = 'displayP3' | 'sRGB' | 'sRGBLinear';enum RGBColorSpacePass a literal, or build one with SwiftUI.ColorRGBColorSpace from import { SwiftUI } from 'swiftui-react-native'.
Type properties
'displayP3'SwiftUI.ColorRGBColorSpace.displayP3The Display P3 color space.
'sRGB'SwiftUI.ColorRGBColorSpace.sRGBThe extended red, green, blue (sRGB) color space.
'sRGBLinear'SwiftUI.ColorRGBColorSpace.sRGBLinearThe extended sRGB color space with a linear transfer function.
Used by
See also
More in Appearance.
- BackgroundProminenceThe prominence of backgrounds underneath other views.
- BadgeProminenceThe visual prominence of a badge.
- ButtonSizingThe sizing behavior of Buttons and other button-like controls.
- ColorA representation of a color that adapts to a given context.
- ColorRenderingModeThe set of possible working color spaces for color-compositing operations.
- ColorResolvedA concrete color value.
- ColorResolvedHDRA concrete color value, including HDR headroom information.
- ColorSchemeThe possible color schemes, corresponding to the light and dark appearances.
- GlassA structure that defines the configuration of a physical glass material.
- GlassChainGlass with chained calls: SwiftUI.Glass.interactive(...).
- ImageScaleA scale to apply to vector images relative to text.
- ProminenceA type indicating the prominence of a view hierarchy.