Please enable JavaScript to use CodeHS

Indiana Computer Science: 8th Grade Glossary

Flashcards

Course:

Module:

Lesson:

Search:

`fill()` JavaScript

Sets the color used to fill shapes.

`fill(red, green, blue)` JavaScript

Sets the color used to fill shapes using RGB values.

`fill(grayscale)` JavaScript

Sets the color used to fill shapes to a grayscale value.

`stroke()` JavaScript

Sets the color used to draw lines and borders around shapes.

`stroke(grayscale)` JavaScript

Sets the color used to draw lines and borders around shapes to a grayscale value

`stroke(red, green, blue)` JavaScript

Sets the color used to draw lines and borders around shapes using RGB values

`noStroke()` JavaScript

Disables drawing the stroke (outline)

RGB Color Model JavaScript

A color model in which red, green, and blue light are added together in various ways to reproduce a color

Hex Color JavaScript

A way of representing a color from various color models using hexadecimal values

Color Palette JavaScript

A collection of colors used together in one medium