Can a script convert website colours to be consistent across multiple devices?

126 Views Asked by At

I've noticed when checking my site across multiple devices, the colour yellow on the desktop looks orange on another device.

Is there a conversion standard or technique, script or method to convert some colours, or add a filter or any other hack or work around to change the colour across a website depending on device to more closely match particular colours?

1

There are 1 best solutions below

0
On

you can use the user-agent to detect what device / browser is being used and apply different css or modify through javascript etc. as needed.

heres a link to dynamically load a css file in javascript:

http://www.javascriptkit.com/javatutors/loadjavascriptcss.shtml

EDIT: This would assume you know which devices / browsers show the colours incorrectly