The colors applied to selected objects on a Lightspeed map are defined by the TLcyLspStyleRepositoryAddOn. Consult the class Javadoc for examples how to re-use those colors for your own data format.