Broadlink documentation - light (RGB, color, brightness and etc)

According to BroadLink in this document - https://www.home-assistant.io/integrations/broadlink/#light it is possible to create a LIGHT entity but I am not sure how and what is a practical example? Could anyone help me with it.

I have a night lamp that has a remote control and I was able to make virtual switch to turn it on and off, but I am looking into being able to set some presets and possibly RGB colors. Is that possible? Thanks

The broadlink integration supports multiple different devices.
If you have a broadlink IR blaster, the remark concerning lights do not apply.

Yes, I have BroadLink RM4 mini