Class DBColorUtil

java.lang.Object
com.illumon.iris.db.util.DBColorUtilImpl
com.illumon.iris.db.util.DBColorUtil

public class DBColorUtil
extends DBColorUtilImpl
Colors moved to Color. They are left in here for backwards compatibility.

Colors are encoded into longs, the 32 least significant bits representing the foreground color and the 32 most significant bits the background color. The 24 least significant bits of each chunk hold the color's RGB values.

The 25th bit is flipped. This distinguishes between no formatting (0L) and black.
For foreground colors, one of the remaining 7 bits denotes no foreground color overriding when the cell is highlighted in the table. This means the foreground color will stay the same when the cell is highlighted.