In FirefoxDev, you can set it as an option in the same place Inspect > 3 dots > Settings > Inspector > Default color unit.