---
id: 619b7c3c83de403126b69c1e
title: Hatua ya 47
challengeType: 0
dashedName: step-47
---

# --description--

Huenda tayari unafahamu desimali, au thamani za msingi 10, ambazo huenda kutoka 0 - 9. Hexadecimal, au thamani za msingi 16, huenda kutoka 0 - 9, kisha A - F:

```js
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F
```

Kwa rangi za heksi, `00` ni 0% ya rangi hiyo, na `FF` ni 100%. Kwa hivyo `#00FF00` hutafsiri hadi 0% nyekundu, 100% ya kijani, na 0% ya bluu, na ni sawa na `rgb(0, 255, 0)`.

Punguza ukubwa wa kijani kwa kuweka thamani ya kijani ya rangi ya hex kuwa `7F`.

# --hints--

Sheria yako ya CSS ya `.green` inapaswa kuwa na sifa ya `background-color` iliyowekwa kuwa `#007F00`.

```js
assert(new __helpers.CSSHelp(document).getStyle('.green')?.backgroundColor === 'rgb(0, 127, 0)');
```

# --seed--

## --seed-contents--

```html
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Colored Markers</title>
    <link rel="stylesheet" href="styles.css">
  </head>
  <body>
    <h1>CSS Color Markers</h1>
    <div class="container">
      <div class="marker red">
      </div>
      <div class="marker green">
      </div>
      <div class="marker blue">
      </div>
    </div>
  </body>
</html>
```

```css
h1 {
  text-align: center;
}

.container {
  background-color: rgb(255, 255, 255);
  padding: 10px 0;
}

.marker {
  width: 200px;
  height: 25px;
  margin: 10px auto;
}

.red {
  background-color: rgb(255, 0, 0);
}

--fcc-editable-region--
.green {
  background-color: #00FF00;
}
--fcc-editable-region--

.blue {
  background-color: rgb(0, 0, 0);
}

```
