<s>[INST] This code provides a method to generate a random color using Python. The code uses the `random` module to generate a random RGB value and then converts it into a hex color string. 

```python
import random

def generate_random_color():
    r = random.randint(0, 255)
    g = random.randint(0, 255)
    b = random.randint(0, 255)
    return '#{:02x}{:02x}{:02x}'.format(r, g, b)

print(generate_random_color())
```

I have a requirement to generate a random color with a specified range of hue, saturation, and value (HSV). How can I modify this code to achieve this?[/INST]