How to set keyword color to orange in my own library?

Hi, recently Iam started to make my own library for RGB LED. the library works fine. But I need to turn some of my keywords to orange color. how ever I don’t know it is done by the user or the ide itself if it is a foolishness forgive me! bcoz i don’t know about that.

i would like to see some of my keywords in orange like while we use eg:- Serial.begin(9600);

below is my libraries keywords:-


RGB rgb(5,6,9,COMMON_ANODE);

void setup() {



void loop() {




i would like to see the rgb.setColor in orange!!!

thanks in advance guys :slight_smile: :wink: :wink: :wink:

You can find the information in the Arduino Library Specification:

The most important thing is to use real tabs, not spaces to separate the keyword from the keyword identifier.

If you have any questions after reading that I'm happy to help.