0, 70, 12
354, 67, 13
Hue is circular so that 0 = 360.
Colour values are almost certainly stored in RGB. Converting between integer RGB and interger HSL/HSV results in a loss of accuracy.
If you want perfectly accurate colour values then work in the native stored colour space: RGB.