Identify the color-coded elements to cite ebooks in your Reference List:
If no date is specified, put (n.d.) in the year field.
Include a doi after the publisher's name if the database provides one.
Citations in your paper should be formatted in a black or grayscale font.
See APA Publication Manual 7th Edition, pages 281-309 for more information, and pages 313-352 for reference examples.