puter.ui.showColorPicker()
GUIPresents the user with a color picker dialog allowing them to select a color.
puter.ui.showColorPicker()
puter.ui.showColorPicker(defaultColor)
puter.ui.showColorPicker(options)
<html>
<body>
<script src="https://js.puter.com/v2/"></script>
<script>
puter.ui.showColorPicker().then((color)=>{
document.body.style.backgroundColor = color;
})
</script>
</body>
</html>