プロンプトライブラリ
ムードカラライザー
リソース
- Overview
- クイックスタート
- Claude 3モデルカード
- Claude 3.7 システムカード
- システムステータス
- Anthropic コース
- プロンプトライブラリ
- プロンプトライブラリ
- コズミック・キーストローク
- 企業の千里眼
- ウェブサイトウィザード
- Excelの数式エキスパート
- Google Apps スクリプター
- Pythonバグバスター
- タイムトラベルコンサルタント
- ストーリーテリングの相棒
- 情報源を引用する
- SQLソーサラー
- 夢の解釈者
- ダジャレ名人
- 料理クリエイター
- ポートマントー詩人
- 皮肉屋のヘルパー、ハル
- LaTeX レジェンド
- ムードカラライザー
- Git gud
- 直喩の達人
- 倫理的ジレンマナビゲーター
- 会議の書記
- 慣用句解説者
- コードコンサルタント
- 関数ファブリケーター
- 新語創造者
- CSVコンバーター
- 絵文字エンコーダー
- 文章磨き上げ
- 視点の考察者
- クイズジェネレーター
- マインドフルネスメンター
- 小学2年生向け簡易化ツール
- VRフィットネスイノベーター
- PII 除去ツール
- メモマエストロ
- キャリアコーチ
- 採点の達人
- 早口言葉
- 面接質問作成ツール
- 文法の魔人
- なぞなぞ出題
- コード解説者
- エイリアン人類学者
- データオーガナイザー
- ブランドビルダー
- 効率性評価ツール
- レビュー分類器
- 方向性デコーダー
- モチベーションの源
- メールアドレス抽出ツール
- マスターモデレーター
- 授業計画作成者
- ソクラテス式の賢者
- 頭韻の錬金術師
- 未来的ファッションアドバイザー
- 多言語スーパーパワー
- 製品ネーミングプロ
- 哲学的考察
- スプレッドシートの魔術師
- SFシナリオシミュレーター
- 適応型エディター
- バベルの放送
- ツイートトーン検出器
- 空港コードアナリスト
プロンプトライブラリ
ムードカラライザー
気分の文章による説明を対応するHEXコードに変換します。
このプロンプトを開発者コンソールにコピーして、自分で試してみましょう!
内容 | |
---|---|
System | あなたの任務は、提供された気分や感情の文章による説明を受け取り、その気分を視覚的に表現するHEXカラーコードを生成することです。色彩心理学の原則と一般的な関連性を使用して、与えられた気分に最も適切な色を決定してください。文章の説明が不明確、曖昧、または適切な色を決定するのに十分な情報を提供していない場合は、「与えられた気分に対するHEXカラーコードを決定できません」と応答してください。 |
User | 情熱的で、強烈で、燃えるような感情、愛と欲望に満ちています。 |
出力例
# FF1744
このHEXカラーコードは、鮮やかで大胆な赤色の色調を表しています。赤は一般的に情熱、強さ、愛、欲望と関連付けられています。ここで選ばれた特定の色調は、描写された感情の熱さと熱意を捉えた、燃えるようなエネルギッシュな赤です。赤は興奮と情熱の感情を刺激することで知られており、この気分を表現するのに適切な選択です。
APIリクエスト
import anthropic
client = anthropic.Anthropic(
# defaults to os.environ.get("ANTHROPIC_API_KEY")
api_key="my_api_key",
)
message = client.messages.create(
model="claude-opus-4-20250514",
max_tokens=500,
temperature=0.5,
system="Your task is to take the provided text description of a mood or emotion and generate a HEX color code that visually represents that mood. Use color psychology principles and common associations to determine the most appropriate color for the given mood. If the text description is unclear, ambiguous, or does not provide enough information to determine a suitable color, respond with \"Unable to determine a HEX color code for the given mood.\"",
messages=[
{
"role": "user",
"content": [
{
"type": "text",
"text": "A passionate, intense, and fiery emotion, full of love and desire."
}
]
}
]
)
print(message.content)
import anthropic
client = anthropic.Anthropic(
# defaults to os.environ.get("ANTHROPIC_API_KEY")
api_key="my_api_key",
)
message = client.messages.create(
model="claude-opus-4-20250514",
max_tokens=500,
temperature=0.5,
system="Your task is to take the provided text description of a mood or emotion and generate a HEX color code that visually represents that mood. Use color psychology principles and common associations to determine the most appropriate color for the given mood. If the text description is unclear, ambiguous, or does not provide enough information to determine a suitable color, respond with \"Unable to determine a HEX color code for the given mood.\"",
messages=[
{
"role": "user",
"content": [
{
"type": "text",
"text": "A passionate, intense, and fiery emotion, full of love and desire."
}
]
}
]
)
print(message.content)
import Anthropic from "@anthropic-ai/sdk";
const anthropic = new Anthropic({
apiKey: "my_api_key", // defaults to process.env["ANTHROPIC_API_KEY"]
});
const msg = await anthropic.messages.create({
model: "claude-opus-4-20250514",
max_tokens: 500,
temperature: 0.5,
system: "Your task is to take the provided text description of a mood or emotion and generate a HEX color code that visually represents that mood. Use color psychology principles and common associations to determine the most appropriate color for the given mood. If the text description is unclear, ambiguous, or does not provide enough information to determine a suitable color, respond with \"Unable to determine a HEX color code for the given mood.\"",
messages: [
{
"role": "user",
"content": [
{
"type": "text",
"text": "A passionate, intense, and fiery emotion, full of love and desire."
}
]
}
]
});
console.log(msg);
from anthropic import AnthropicBedrock
# See https://docs.anthropic.com/claude/reference/claude-on-amazon-bedrock
# for authentication options
client = AnthropicBedrock()
message = client.messages.create(
model="anthropic.claude-opus-4-20250514-v1:0",
max_tokens=500,
temperature=0.5,
system="Your task is to take the provided text description of a mood or emotion and generate a HEX color code that visually represents that mood. Use color psychology principles and common associations to determine the most appropriate color for the given mood. If the text description is unclear, ambiguous, or does not provide enough information to determine a suitable color, respond with \"Unable to determine a HEX color code for the given mood.\"",
messages=[
{
"role": "user",
"content": [
{
"type": "text",
"text": "A passionate, intense, and fiery emotion, full of love and desire."
}
]
}
]
)
print(message.content)
import AnthropicBedrock from "@anthropic-ai/bedrock-sdk";
// See https://docs.anthropic.com/claude/reference/claude-on-amazon-bedrock
// for authentication options
const client = new AnthropicBedrock();
const msg = await client.messages.create({
model: "anthropic.claude-opus-4-20250514-v1:0",
max_tokens: 500,
temperature: 0.5,
system: "Your task is to take the provided text description of a mood or emotion and generate a HEX color code that visually represents that mood. Use color psychology principles and common associations to determine the most appropriate color for the given mood. If the text description is unclear, ambiguous, or does not provide enough information to determine a suitable color, respond with \"Unable to determine a HEX color code for the given mood.\"",
messages: [
{
"role": "user",
"content": [
{
"type": "text",
"text": "A passionate, intense, and fiery emotion, full of love and desire."
}
]
}
]
});
console.log(msg);
from anthropic import AnthropicVertex
client = AnthropicVertex()
message = client.messages.create(
model="claude-3-7-sonnet-v1@20250219",
max_tokens=500,
temperature=0.5,
system="Your task is to take the provided text description of a mood or emotion and generate a HEX color code that visually represents that mood. Use color psychology principles and common associations to determine the most appropriate color for the given mood. If the text description is unclear, ambiguous, or does not provide enough information to determine a suitable color, respond with \"Unable to determine a HEX color code for the given mood.\"",
messages=[
{
"role": "user",
"content": [
{
"type": "text",
"text": "A passionate, intense, and fiery emotion, full of love and desire."
}
]
}
]
)
print(message.content)
import { AnthropicVertex } from '@anthropic-ai/vertex-sdk';
// Reads from the `CLOUD_ML_REGION` & `ANTHROPIC_VERTEX_PROJECT_ID` environment variables.
// Additionally goes through the standard `google-auth-library` flow.
const client = new AnthropicVertex();
const msg = await client.messages.create({
model: "claude-3-7-sonnet-v1@20250219",
max_tokens: 500,
temperature: 0.5,
system: "Your task is to take the provided text description of a mood or emotion and generate a HEX color code that visually represents that mood. Use color psychology principles and common associations to determine the most appropriate color for the given mood. If the text description is unclear, ambiguous, or does not provide enough information to determine a suitable color, respond with \"Unable to determine a HEX color code for the given mood.\"",
messages: [
{
"role": "user",
"content": [
{
"type": "text",
"text": "A passionate, intense, and fiery emotion, full of love and desire."
}
]
}
]
});
console.log(msg);
Was this page helpful?