I am guessing that the colours are destroyed by whatever electrical fault killed it.
If there is AC mains coming into the device, the resistor might be across a capacitor there, in which case it may be a high value to discharge the capacitor when the device is unplugged to prevent unpleasant voltages from lingering on the pins of the plug. Such a resistor could not be 0.38
, but would more likely to be 330 k
However, the device would still work without the resistor in that case. If it's dead, then either something else failed and just happened to smoke the resistor (a 330k resistor seems unlikely to fail because even across the mains it will have a very small current)
The 2nd digit is probably a 3, because that's the most common preferred value after another 3 (33R, 330R, 3.3k, etc)
Sorry I'm rambling and not helping, please do not replace the resistor with a random value and then set yourself on fire etc, with a faulty appliance!