Platform
Resources
Pricing
Sign in
Get started
Observable
The end-to-end solution for building and hosting better data apps, dashboards, and reports.
Workspace
Fork
Published
Observable Inputs
By
Mike Bostock
Edited
Dec 5, 2021
39 stars
Insert cell
5
Insert cell
viewof
rgb
=
Inputs
.
form
(
[
Inputs
.
range
(
[
0
,
255
]
,
{
step
:
1
,
label
:
"r"
}
)
,
Inputs
.
range
(
[
0
,
255
]
,
{
step
:
1
,
label
:
"g"
}
)
,
Inputs
.
range
(
[
0
,
255
]
,
{
step
:
1
,
label
:
"b"
}
)
]
)
Insert cell
rgb
Insert cell
Insert cell
viewof
rgb2
=
Inputs
.
form
(
{
r
:
Inputs
.
range
(
[
0
,
255
]
,
{
step
:
1
,
label
:
"r"
}
)
,
g
:
Inputs
.
range
(
[
0
,
255
]
,
{
step
:
1
,
label
:
"g"
}
)
,
b
:
Inputs
.
range
(
[
0
,
255
]
,
{
step
:
1
,
label
:
"b"
}
)
}
)
Insert cell
2
rgb2
Insert cell
Purpose-built for displays of data
Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Try it for free
Learn more
Fork
View
Export
Edit
Show 5 comments
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
rgb
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
rgb2
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Show 2 comments
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML