diff --git a/bundles/org.openhab.ui/doc/components/oh-colorpicker-card.md b/bundles/org.openhab.ui/doc/components/oh-colorpicker-card.md
index 22013164e7..670599caa4 100644
--- a/bundles/org.openhab.ui/doc/components/oh-colorpicker-card.md
+++ b/bundles/org.openhab.ui/doc/components/oh-colorpicker-card.md
@@ -83,11 +83,6 @@ Display a color picker in a card
-
-
- Color (e.g. [0,0,0]
for black) to use for the color picker if state does not contain a color (e.g. because it is NULL
)
-
-
diff --git a/bundles/org.openhab.ui/doc/components/oh-colorpicker-cell.md b/bundles/org.openhab.ui/doc/components/oh-colorpicker-cell.md
index cb7af0f6ab..f1dd93d019 100644
--- a/bundles/org.openhab.ui/doc/components/oh-colorpicker-cell.md
+++ b/bundles/org.openhab.ui/doc/components/oh-colorpicker-cell.md
@@ -93,11 +93,6 @@ A cell expanding to a color picker
-
-
- Color (e.g. [0,0,0]
for black) to use for the color picker if state does not contain a color (e.g. because it is NULL
)
-
-
diff --git a/bundles/org.openhab.ui/doc/components/oh-colorpicker-item.md b/bundles/org.openhab.ui/doc/components/oh-colorpicker-item.md
index ce7dd86291..e4256929ad 100644
--- a/bundles/org.openhab.ui/doc/components/oh-colorpicker-item.md
+++ b/bundles/org.openhab.ui/doc/components/oh-colorpicker-item.md
@@ -88,11 +88,6 @@ Display a color picker in a list
-
-
- Color (e.g. [0,0,0]
for black) to use for the color picker if state does not contain a color (e.g. because it is NULL
)
-
-
diff --git a/bundles/org.openhab.ui/doc/components/oh-colorpicker.md b/bundles/org.openhab.ui/doc/components/oh-colorpicker.md
index e8d9b73fc3..7da3563494 100644
--- a/bundles/org.openhab.ui/doc/components/oh-colorpicker.md
+++ b/bundles/org.openhab.ui/doc/components/oh-colorpicker.md
@@ -51,11 +51,6 @@ Control to pick a color
-
-
- Color (e.g. [0,0,0]
for black) to use for the color picker if state does not contain a color (e.g. because it is NULL
)
-
-
diff --git a/bundles/org.openhab.ui/web/src/assets/definitions/widgets/system/colorpicker.js b/bundles/org.openhab.ui/web/src/assets/definitions/widgets/system/colorpicker.js
index 000ad119e8..da23f77e6f 100644
--- a/bundles/org.openhab.ui/web/src/assets/definitions/widgets/system/colorpicker.js
+++ b/bundles/org.openhab.ui/web/src/assets/definitions/widgets/system/colorpicker.js
@@ -14,6 +14,5 @@ export default () => [
{ value: 'palette', label: 'Palette' },
{ value: 'current-color', label: 'Current color' },
{ value: 'initial-current-colors', label: 'Initial current colors' }
- ], true, true),
- pt('defaultColor', 'Default Color', 'Color (e.g. [0,0,0]
for black) to use for the color picker if state does not contain a color (e.g. because it is NULL
)')
+ ], true, true)
]
diff --git a/bundles/org.openhab.ui/web/src/components/widgets/system/oh-colorpicker.vue b/bundles/org.openhab.ui/web/src/components/widgets/system/oh-colorpicker.vue
index e6c1b73698..873a8feb64 100644
--- a/bundles/org.openhab.ui/web/src/components/widgets/system/oh-colorpicker.vue
+++ b/bundles/org.openhab.ui/web/src/components/widgets/system/oh-colorpicker.vue
@@ -51,14 +51,7 @@ export default {
color[2] = color[2] / 100
return color
}
- if (this.config.defaultColor) {
- try {
- return JSON.parse(this.config.defaultColor)
- } catch {
- return null
- }
- }
- return null
+ return [0, 0, 0]
}
},
watch: {