← All tool references

Reference · not_available

Resistor Color Code Chart

Decode 4-, 5-, and 6-band resistor values with accessible color labels.

Open public tool

Overview

Category
Reference
API mode
not_available
Processing
client-side
Privacy
no-data-stored

Public descriptor

The descriptor is available without an API key and supplies this tool’s metadata, schemas, modes, and examples.

GET /api/v1/tools/resistor-color-code-chart

View this descriptor as JSON

Execute availability

This tool is documented as a browser capability. Its execute route does not produce a server-side result; when execution is enabled, it responds with browser_interaction_required and points callers to the public tool page.

POST /api/v1/tools/resistor-color-code-chart/execute

Authentication is not issued during the preview. A bearer API key is planned for execution after launch.

Input schema

object object; additional properties are not accepted.

band_count · string · optional
Choose or enter band count to refine the reference. Accepted values: 4, 5, 6.
first_band · string · optional
Choose or enter first digit to refine the reference. Accepted values: black, brown, red, orange, yellow, green, blue, violet, gray, white.
second_band · string · optional
Choose or enter second digit to refine the reference. Accepted values: black, brown, red, orange, yellow, green, blue, violet, gray, white.
third_band · string · optional
Choose or enter third digit to refine the reference. Accepted values: black, brown, red, orange, yellow, green, blue, violet, gray, white.
multiplier · string · optional
Choose or enter multiplier to refine the reference. Accepted values: black, brown, red, orange, yellow, green, blue, violet, gray, white, gold, silver.
tolerance · string · optional
Choose or enter tolerance to refine the reference. Accepted values: brown, red, green, blue, violet, gray, gold, silver.
{
    "type": "object",
    "properties": {
        "band_count": {
            "type": "string",
            "description": "Choose or enter band count to refine the reference.",
            "enum": [
                "4",
                "5",
                "6"
            ]
        },
        "first_band": {
            "type": "string",
            "description": "Choose or enter first digit to refine the reference.",
            "enum": [
                "black",
                "brown",
                "red",
                "orange",
                "yellow",
                "green",
                "blue",
                "violet",
                "gray",
                "white"
            ]
        },
        "second_band": {
            "type": "string",
            "description": "Choose or enter second digit to refine the reference.",
            "enum": [
                "black",
                "brown",
                "red",
                "orange",
                "yellow",
                "green",
                "blue",
                "violet",
                "gray",
                "white"
            ]
        },
        "third_band": {
            "type": "string",
            "description": "Choose or enter third digit to refine the reference.",
            "enum": [
                "black",
                "brown",
                "red",
                "orange",
                "yellow",
                "green",
                "blue",
                "violet",
                "gray",
                "white"
            ]
        },
        "multiplier": {
            "type": "string",
            "description": "Choose or enter multiplier to refine the reference.",
            "enum": [
                "black",
                "brown",
                "red",
                "orange",
                "yellow",
                "green",
                "blue",
                "violet",
                "gray",
                "white",
                "gold",
                "silver"
            ]
        },
        "tolerance": {
            "type": "string",
            "description": "Choose or enter tolerance to refine the reference.",
            "enum": [
                "brown",
                "red",
                "green",
                "blue",
                "violet",
                "gray",
                "gold",
                "silver"
            ]
        }
    },
    "required": [],
    "additionalProperties": false
}

Output schema

On a successful execution, schema values appear in data.result.values.

summary · string
Resistance returned by the reference.
match_count · number
Band count returned by the reference.
results · array
Band details returned by the reference.
{
    "type": "object",
    "properties": {
        "summary": {
            "type": "string",
            "description": "Resistance returned by the reference."
        },
        "match_count": {
            "type": "number",
            "description": "Band count returned by the reference."
        },
        "results": {
            "type": "array",
            "description": "Band details returned by the reference."
        }
    },
    "additionalProperties": true
}

Resistor Color Code Chart example

The request body follows the published input schema. The response below shows the success-envelope shape returned after execution is available.

curl -X POST "https://utilitypages.org/api/v1/tools/resistor-color-code-chart/execute" \
  -H "Content-Type: application/json" \
  -d '{
    "band_count": "4",
    "first_band": "brown",
    "second_band": "black",
    "third_band": "black",
    "multiplier": "red",
    "tolerance": "gold"
}'
{
    "ok": true,
    "data": {
        "slug": "resistor-color-code-chart",
        "result": {
            "values": {
                "summary": "1 kΩ ±5%",
                "match_count": 4,
                "results": [
                    {
                        "position": 1,
                        "color": "brown",
                        "role": "significant digit"
                    },
                    {
                        "position": 2,
                        "color": "black",
                        "role": "significant digit"
                    },
                    {
                        "position": 3,
                        "color": "red",
                        "role": "multiplier"
                    },
                    {
                        "position": 4,
                        "color": "gold",
                        "role": "tolerance"
                    }
                ]
            },
            "display": {
                "display": "1 kΩ ±5%"
            },
            "warnings": [],
            "assumptions": [],
            "steps": []
        }
    },
    "meta": [],
    "request_id": "req_example_123"
}

Errors

api_not_launched · 503
Returned by the current launch gate for every execute request.
invalid_json · 400
Returned when an enabled execute request does not contain valid JSON.
validation_failed · 422
Returned when a request does not satisfy the input schema.
browser_interaction_required · 422
Returned for browser capability tools instead of inventing a server-side result.
tool_not_found · 404
Returned when a requested descriptor slug does not exist.
execution_failed · 503
Returned when an enabled server-side execution cannot complete.