Skip to content

Color Picker

The orange, yellow and green seem one colour, which descends pretty uniformly from an intense to a rare yellow, making what I should call different shades of yellow.

Example

Show Code
vue
<script lang="ts" setup>
import { RColorPicker } from 'roughness'
import { ref } from 'vue'

let color = ref('')
</script>

<template>
  <RColorPicker v-model="color" />
</template>

Usage

Props

NameTypeDefault ValueDescription
graphicsOptions
loading
modelValue

Events

NameTypeDescription
update:modelValue

Styles

NameTypeDefault ValueDescription
--r-color-picker-color
--r-color-picker-border-width
--r-color-picker-border-dash

Released under the ISC License.