Learn how from Chelsea!
Use this code in the CodeCat.cafe text editor
<!DOCTYPE html>
<html>
<head>
<style>
body{
background:radial-gradient(white,black);
}
h1{
font-size:40vw;
color:yellow;
}
</style>
</head>
<body>
<h1>color</h1>
</body>
</html>
See all the colour names you can use in your web code. This page also allows you to click colors to add them to a gradient.