Unfortunately, in the documentation provided by HP, there is no meaning for the lights when such a problem occurs. There are also no beeps or other ways of diagnosing this type of problem.
Based on the behavior you mentioned, I'm afraid it may be a problem with the BIOS or the motherboard. I suggest you consult a technician you trust or the manufacturer's authorized support.
You can check the documentation provided by HP at the link below.
https://support.hp.com/us-en/product/setup-user...
________________________________________________________
Standard Disclaimer: This is a non-Microsoft website. The page appears to be providing accurate, safe information. Watch out for ads on the site that may advertise products frequently classified as a PUP (Potentially Unwanted Products). Thoroughly research any product advertised on the site before you decide to download and install it.