I am currently working on a project which requires the the circuit to perform specific task if a specific colour of laser is detected (something like a basic remote control). Is there a sensor or a way to make LDRs sensitive to only one colour of light.
While there are many solutions for making spectrally resolved detectors (diffraction gratings, prisms, dielectric filters), the overwhelming most common approach used in remote controls is to put a simple piece of colored glass in front of the sensor. Light not matching the desired color is absorbed.
You might wonder why such simple methods are preferred. The reason is that absorptive filters are very, very cheap and they can be made arbitrarily selective by simply making the glass thicker, which will exponentially increase its absorption. For this reason, even a few cents worth of colored plastic can often be highly effective. If better absorption is required, there are also speciality glasses designed for absorption of specific wavelengths. See for example: https://www.thorlabs.com/newgrouppage9.cfm?objectgroup_id=999
(note that glasses are available from many vendors, so you can often buy them for a tiny fraction of the list price online)
For applications where two lasers are very close in wavelength (tens of nanometers apart or less) there are also dichroic filters, which can have extremely specific pass bands. However, these are orders of magnitude more expensive, very fragile, and must be kept clean or their selectivity is degraded.