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.2   10.3   10.4   10.5   11.0   11.1   11.2   11.3   11.4   11.5    Statistic    FMM    Blog  


Calculates color value for LAB.

Component Version macOS Windows Linux Server iOS SDK
DynaPDF 11.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "DynaPDF.Lab"; L; a; b )   More


Parameter Description Example
L The l color component from 0 to 100. 50
a The a color component from -128 to 127. -34
b The a color component from -128 to 127. 77


Returns number or error.


Calculates color value for LAB.
For use with functions which take a color as a big number.
Calculation is b * 65536 + a * 256 + L.
Use it only if the color space is LAB.

See also DynaPDF.RGB for RGB colors and DynaPDF.CMYK for CMYK colors.


Get Lab color value:

MBS( "DynaPDF.Lab"; 50; -34; 77 )

Example result: 5103154

See also

Release notes

Blog Entries

Created 15th January 2021, last changed 15th January 2021

DynaPDF.IsInitialized - DynaPDF.LineAnnot

Feedback: Report problem or ask question.

MBS FileMaker tutorial videos

Start Chat