---
title: blue
framework: coreimage
role: symbol
role_heading: Instance Property
path: coreimage/cicolor/blue-swift.property
---

# blue

Returns the unpremultiplied blue component of the color.

## Declaration

```swift
var blue: CGFloat { get }
```

## Discussion

Discussion If the CIColor was initialized with a CGColor in a non-RGB CGColorSpace then it will be converted to sRGB to get the green component.

## See Also

### Getting Color Components

- [colorSpace](coreimage/cicolor/colorspace.md)
- [components](coreimage/cicolor/components.md)
- [numberOfComponents](coreimage/cicolor/numberofcomponents.md)
- [red](coreimage/cicolor/red-swift.property.md)
- [green](coreimage/cicolor/green-swift.property.md)
- [alpha](coreimage/cicolor/alpha.md)
- [stringRepresentation](coreimage/cicolor/stringrepresentation.md)
