I'm trying to set the fog to a certain color but it ends up looking wrong!!
Leva25se commented
RGB values must be dividend by 256. It may be necessary to change the values slightly, as the values must be float. After dividend the colors may be slightly different.