I haven't found much documentation about this. Here's what I get in Arduino IDE 1.8.3:
As you can see, KEYWORD1 is the same color as KEYWORD2 and KEYWORD3 but unlike the others it is bold. I don't know why they have all these different keyword types defined but don't bother to make them different colors. One of those Arduino mysteries...
If you change the selection in your Tools > Board menu it will rescan the libraries and you should definitely see the difference between KEYWORD1 and LITERAL1.
pert:
If you change the selection in your Tools > Board menu it will rescan the libraries and you should definitely see the difference between KEYWORD1 and LITERAL1.
Strange. Which version of the Arduino IDE? That was 1.8.3 but I know I had the same results with 1.8.0 because I have a screenshot of it.
This is the keywords.txt file I used to generate the screenshot I posted:
# the purpose of this file is to allow the keyword coloration of all keywords to be easily checked
keywordKEYWORD1 KEYWORD1
keywordKEYWORD2 KEYWORD2
keywordKEYWORD3 KEYWORD3
keywordLITERAL1 LITERAL1
keywordLITERAL2 LITERAL2
# 3 tabs are required between the keyword and the keyword identifier for these keyword types. This allows for other keyword identifiers or text to be included between which doesn't appear to have any effect, maybe for backwards compatibility?
keywordRESERVED_WORD RESERVED_WORD
keywordRESERVED_WORD_2 RESERVED_WORD_2
keywordDATA_TYPE DATA_TYPE
keywordPREPROCESSOR PREPROCESSOR
I cropped off the "keyword" part from the screen to avoid confusion.
Here's a dummy library I made that has an example sketch that uses all these keywords: