Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
10.1
10.2
10.3
10.4
10.5
11.0
11.1
11.2
11.3
11.4
Statistic
FMM
Blog
Unpacks color type to red, green and blue components.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
XL | 3.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Parameter | Description | Example |
---|---|---|
bookRef | The reference to the workbook. Please use XL.LoadBook to load a file. | $ref |
value | The packed color value. | 255 |
selector | The selector on what to return. Can be red, green or blue. | "red" |
Returns color component value or error.
Extracts color in RGB mode:
$r = MBS( "XL.Color.UnPack"; $$book; 16711680; "red")
$g = MBS( "XL.Color.UnPack"; $$book; 16711680; "green")
$b = MBS( "XL.Color.UnPack"; $$book; 16711680; "blue")
Created 18th August 2014, last changed 18th August 2014
XL.Color.Pack - XL.CopyCellValue
Feedback: Report problem or ask question.