UNPKG

rc-js-util

Version:

A collection of TS and C++ utilities to help writing performant and correct applications, achieved through strict typing and (removable) invariant checking.

54 lines (26 loc) 710 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [rc-js-util](./rc-js-util.md) &gt; [RgbaColorPacker](./rc-js-util.rgbacolorpacker.md) &gt; [unpackB](./rc-js-util.rgbacolorpacker.unpackb.md) ## RgbaColorPacker.unpackB() method **Signature:** ```typescript static unpackB(color: number): number; ``` ## Parameters <table><thead><tr><th> Parameter </th><th> Type </th><th> Description </th></tr></thead> <tbody><tr><td> color </td><td> number </td><td> Bit packed color. </td></tr> </tbody></table> **Returns:** number a value between 0 - 255 representing the blue component.